$ git clone -n http://gitee.com/src-anolis-os/copy-jdk-configs.git /var/lib/mock/dist-an7_9-updates-build-146774-52034/root/chroot_tmpdir/scmroot/copy-jdk-configs Cloning into '/var/lib/mock/dist-an7_9-updates-build-146774-52034/root/chroot_tmpdir/scmroot/copy-jdk-configs'... warning: redirecting to https://gitee.com/src-anolis-os/copy-jdk-configs.git/ $ git reset --hard origin/a7 HEAD is now at 853699b update to copy-jdk-configs-3.3-11.el7_9