$ git clone -n https://gitee.com/src-opencloudos-rpms/lmdb.git /var/lib/mock/dist-oc8-build-38381-12415/root/chroot_tmpdir/scmroot/lmdb Cloning into '/var/lib/mock/dist-oc8-build-38381-12415/root/chroot_tmpdir/scmroot/lmdb'... $ git reset --hard origin/oc8 HEAD is now at 7575ec0 import lmdb-0.9.24-2.tl3