$ git clone -n https://gitee.com/src-anolis-os/pptp.git /var/lib/mock/dist-an8.6-build-125237-46180/root/chroot_tmpdir/scmroot/pptp Cloning into '/var/lib/mock/dist-an8.6-build-125237-46180/root/chroot_tmpdir/scmroot/pptp'... $ git reset --hard 03105fdacd48dd72b61beb423b78e7f23010eeb0 HEAD is now at 03105fd spec: add doc sub package