$ git clone -n https://gitee.com/src-anolis-os/libgsf.git /var/lib/mock/dist-an8-poc-build-105109-45599/root/chroot_tmpdir/scmroot/libgsf Cloning into '/var/lib/mock/dist-an8-poc-build-105109-45599/root/chroot_tmpdir/scmroot/libgsf'... $ git reset --hard origin/a8-poc HEAD is now at b8dddde spec: add doc sub package