$ git clone -n https://gitee.com/src-anolis-os/usermode.git /var/lib/mock/dist-an8.7-build-269665-64112/root/chroot_tmpdir/scmroot/usermode Cloning into '/var/lib/mock/dist-an8.7-build-269665-64112/root/chroot_tmpdir/scmroot/usermode'... $ git reset --hard origin/a8 HEAD is now at cf5cd7b spec: add doc sub package