$ git clone -n https://gitee.com/src-anolis-os/gsm.git /var/lib/mock/dist-an8.6-build-104512-45598/root/chroot_tmpdir/scmroot/gsm Cloning into '/var/lib/mock/dist-an8.6-build-104512-45598/root/chroot_tmpdir/scmroot/gsm'... $ git reset --hard origin/a8 HEAD is now at 778b24b spec: add doc sub package