$ git clone -n https://gitee.com/src-opencloudos-rpms/libldb /var/lib/mock/dist-oc8-build-39264-13476/root/chroot_tmpdir/scmroot/libldb Cloning into '/var/lib/mock/dist-oc8-build-39264-13476/root/chroot_tmpdir/scmroot/libldb'... $ git reset --hard origin/oc8 HEAD is now at 3eae532 import libldb-2.6.1-1.tl3