$ git clone -n https://gitee.com/mgb01105731/gc.git /var/lib/mock/dist-an23-build-147714-57727/root/chroot_tmpdir/scmroot/gc Cloning into '/var/lib/mock/dist-an23-build-147714-57727/root/chroot_tmpdir/scmroot/gc'... $ git reset --hard cdeaf9396544a8bd327fea56e18c0cadabf2291f HEAD is now at cdeaf93 optimise spec file