$ git clone -n https://gitee.com/src-anolis-os/gcab.git /var/lib/mock/dist-an8.6-build-100944-45598/root/chroot_tmpdir/scmroot/gcab Cloning into '/var/lib/mock/dist-an8.6-build-100944-45598/root/chroot_tmpdir/scmroot/gcab'... $ git reset --hard origin/a8 HEAD is now at e114452 Add doc sub package