$ git clone -n https://gitee.com/src-anolis-os/grubby.git /var/lib/mock/dist-an23-build-173073-59001/root/chroot_tmpdir/scmroot/grubby Cloning into '/var/lib/mock/dist-an23-build-173073-59001/root/chroot_tmpdir/scmroot/grubby'... $ git reset --hard origin/a23 HEAD is now at c220e45 Add doc package for grubby