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