$ git clone -n https://gitee.com/src-anolis-os/cheese.git /var/lib/mock/dist-an8.6-build-99262-45576/root/chroot_tmpdir/scmroot/cheese Cloning into '/var/lib/mock/dist-an8.6-build-99262-45576/root/chroot_tmpdir/scmroot/cheese'... $ git reset --hard origin/a8-dev HEAD is now at 6756f8d spec: add doc sub package