$ git clone -n https://gitee.com/mgb01105731/ostree.git /var/lib/mock/dist-an23-build-153939-58076/root/chroot_tmpdir/scmroot/ostree Cloning into '/var/lib/mock/dist-an23-build-153939-58076/root/chroot_tmpdir/scmroot/ostree'... $ git reset --hard 468e093277b0a556d4f70cdd4dd9bdc1d6919380 HEAD is now at 468e093 optimise spec file