$ git clone -n https://gitee.com/src-opencloudos-rpms/curl /var/lib/mock/dist-oc8-build-30771-9178/root/chroot_tmpdir/scmroot/curl Cloning into '/var/lib/mock/dist-oc8-build-30771-9178/root/chroot_tmpdir/scmroot/curl'... $ git reset --hard origin/oc8 HEAD is now at 9c29689 import curl-7.61.1-25.oc8