$ git clone -n https://gitee.com/src-anolis-os/nano.git /var/lib/mock/dist-an8.6-build-111360-45849/root/chroot_tmpdir/scmroot/nano Cloning into '/var/lib/mock/dist-an8.6-build-111360-45849/root/chroot_tmpdir/scmroot/nano'... $ git reset --hard 208103dec2cd88d2d63f3c975aba8c636405c9c6 HEAD is now at 208103d spec: add doc sub package