$ git clone -n https://gitee.com/src-opencloudos-rpms/gdbm /var/lib/mock/dist-oc8-build-31851-9257/root/chroot_tmpdir/scmroot/gdbm Cloning into '/var/lib/mock/dist-oc8-build-31851-9257/root/chroot_tmpdir/scmroot/gdbm'... $ git reset --hard origin/oc8 HEAD is now at 6519711 import gdbm-1.18-2.oc8