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