$ git clone -n https://gitee.com/src-opencloudos-rpms/curl.git /var/lib/mock/dist-oc8-build-34555-10869/root/chroot_tmpdir/scmroot/curl Cloning into '/var/lib/mock/dist-oc8-build-34555-10869/root/chroot_tmpdir/scmroot/curl'... $ git reset --hard cd94fa3531d9a31e425b1f40dadf78ee42b3f6b8 HEAD is now at cd94fa3 import curl-7.61.1-25.oc8.1