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