$ git clone -n https://gitee.com/src-opencloudos-rpms/libtdb.git /var/lib/mock/dist-oc8-build-38413-12442/root/chroot_tmpdir/scmroot/libtdb Cloning into '/var/lib/mock/dist-oc8-build-38413-12442/root/chroot_tmpdir/scmroot/libtdb'... $ git reset --hard origin/oc8 HEAD is now at 7ad5985 import libtdb-1.4.7-1.tl3