$ git clone -n https://gitee.com/src-anolis-os/spice-protocol.git /var/lib/mock/dist-an8.7-build-170952-58939/root/chroot_tmpdir/scmroot/spice-protocol Cloning into '/var/lib/mock/dist-an8.7-build-170952-58939/root/chroot_tmpdir/scmroot/spice-protocol'... $ git reset --hard origin/a8-poc HEAD is now at 156fb38 add doc sub package