$ git clone -n https://gitee.com/src-anolis-os/libdmapsharing.git /var/lib/mock/dist-an8.6-build-102534-45598/root/chroot_tmpdir/scmroot/libdmapsharing Cloning into '/var/lib/mock/dist-an8.6-build-102534-45598/root/chroot_tmpdir/scmroot/libdmapsharing'... $ git reset --hard 7b472b3537503a4d5caac116ffebe54f96d396fd HEAD is now at 7b472b3 spec: edit doc sub package