$ git clone -n https://gitee.com/src-anolis-os/oci-register-machine /var/lib/mock/dist-an7-extras-build-77151-40485/root/chroot_tmpdir/scmroot/oci-register-machine Cloning into '/var/lib/mock/dist-an7-extras-build-77151-40485/root/chroot_tmpdir/scmroot/oci-register-machine'... $ git reset --hard origin/a7 HEAD is now at e9fa219 import oci-register-machine-0-6.git2b44233.el7