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