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