$ git clone -n https://gitee.com/src-anolis-test/curl.git /var/lib/mock/dist-an8.6-build-93522-45467/root/chroot_tmpdir/scmroot/curl Cloning into '/var/lib/mock/dist-an8.6-build-93522-45467/root/chroot_tmpdir/scmroot/curl'... $ git reset --hard 6ed7f5834967f120fd0fc5f5200b4c14fe62cd3d HEAD is now at 6ed7f58 import curl-7.61.1-18.an8_4.1.src.rpm