$ git clone -n https://gitee.com/src-anolis-os/libgpg-error.git /var/lib/mock/dist-an8.6-build-183856-60012/root/chroot_tmpdir/scmroot/libgpg-error Cloning into '/var/lib/mock/dist-an8.6-build-183856-60012/root/chroot_tmpdir/scmroot/libgpg-error'... $ git reset --hard origin/a8-poc HEAD is now at 429c16a spec: add doc sub package