$ git clone -n https://gitee.com/src-opencloudos-rpms/libblockdev.git /var/lib/mock/dist-oc8-build-38825-12852/root/chroot_tmpdir/scmroot/libblockdev Cloning into '/var/lib/mock/dist-oc8-build-38825-12852/root/chroot_tmpdir/scmroot/libblockdev'... $ git reset --hard origin/oc8 HEAD is now at db09afc import libblockdev-2.28-2.tl3