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