$ git clone -n https://gitee.com/src-opencloudos-rpms/libldb /var/lib/mock/dist-oc8-dotnet-build-33493-10296/root/chroot_tmpdir/scmroot/libldb Cloning into '/var/lib/mock/dist-oc8-dotnet-build-33493-10296/root/chroot_tmpdir/scmroot/libldb'... $ git reset --hard origin/oc8 HEAD is now at 547df17 import libldb-2.5.2-2.tl3