$ git clone -n https://gitee.com/src-opencloudos-rpms/lvm2 /var/lib/mock/dist-oc8-build-30637-9121/root/chroot_tmpdir/scmroot/lvm2 Cloning into '/var/lib/mock/dist-oc8-build-30637-9121/root/chroot_tmpdir/scmroot/lvm2'... $ git reset --hard origin/oc8 HEAD is now at 5d6d9a0 import lvm2-2.03.14-6.tl3