$ git clone -n https://gitee.com/src-anolis-os/dialog.git /var/lib/mock/dist-an8.7-build-137242-50601/root/chroot_tmpdir/scmroot/dialog Cloning into '/var/lib/mock/dist-an8.7-build-137242-50601/root/chroot_tmpdir/scmroot/dialog'... $ git reset --hard origin/a8 HEAD is now at 25e75ba spec: add doc sub package