$ git clone -n https://gitee.com/src-anolis-os/gpm.git /var/lib/mock/dist-an23-build-129299-46217/root/chroot_tmpdir/scmroot/gpm Cloning into '/var/lib/mock/dist-an23-build-129299-46217/root/chroot_tmpdir/scmroot/gpm'... $ git reset --hard origin/a23 HEAD is now at 9e8834f add doc package