$ git clone -n https://gitee.com/src-opencloudos-rpms/curl.git /var/lib/mock/dist-oc8-build-38793-12716/root/chroot_tmpdir/scmroot/curl Cloning into '/var/lib/mock/dist-oc8-build-38793-12716/root/chroot_tmpdir/scmroot/curl'... $ git reset --hard origin/oc8 HEAD is now at 1ca1554 import curl-7.61.1-30.tl3.2