$ git clone -n https://gitee.com/mgb01105731/file.git /var/lib/mock/dist-an23-build-129613-46272/root/chroot_tmpdir/scmroot/file Cloning into '/var/lib/mock/dist-an23-build-129613-46272/root/chroot_tmpdir/scmroot/file'... $ git reset --hard origin/a23 HEAD is now at c8ecf05 add doc package