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