$ git clone -n https://gitee.com/src-opencloudos-rpms/sbd /var/lib/mock/dist-oc8-build-32544-9797/root/chroot_tmpdir/scmroot/sbd Cloning into '/var/lib/mock/dist-oc8-build-32544-9797/root/chroot_tmpdir/scmroot/sbd'... $ git reset --hard origin/oc8 HEAD is now at df79e74 import sbd-1.5.1-2.tl3