$ git clone -n https://gitee.com/src-anolis-os/httpcomponents-core.git /var/lib/mock/dist-an23-build-343455-70011/root/chroot_tmpdir/scmroot/httpcomponents-core Cloning into '/var/lib/mock/dist-an23-build-343455-70011/root/chroot_tmpdir/scmroot/httpcomponents-core'... $ git reset --hard origin/a23 HEAD is now at e2e0f6f fix the source error