$ git clone -n https://gitee.com/mgb01105731/mtools.git /var/lib/mock/dist-an23-build-137604-50611/root/chroot_tmpdir/scmroot/mtools Cloning into '/var/lib/mock/dist-an23-build-137604-50611/root/chroot_tmpdir/scmroot/mtools'... $ git reset --hard origin/a23 HEAD is now at 55cf6de optimise spec file & add doc package