$ git clone -n https://gitee.com/ywyw22/ostree /var/lib/mock/dist-an8.6-build-160687-58573/root/chroot_tmpdir/scmroot/ostree Cloning into '/var/lib/mock/dist-an8.6-build-160687-58573/root/chroot_tmpdir/scmroot/ostree'... $ git reset --hard 468e093277b0a556d4f70cdd4dd9bdc1d6919380 HEAD is now at 468e093 optimise spec file