$ git clone -n https://gitee.com/mgb01105731/lvm2.git /var/lib/mock/dist-an23-build-155061-58313/root/chroot_tmpdir/scmroot/lvm2 Cloning into '/var/lib/mock/dist-an23-build-155061-58313/root/chroot_tmpdir/scmroot/lvm2'... $ git reset --hard db3fc6a1bd2f49dd29e2b0abe520af96548255c3 HEAD is now at db3fc6a optimise spec file