$ git clone -n https://gitee.com/src-anolis-os/apr.git /var/lib/mock/dist-an23-build-91226-45352/root/chroot_tmpdir/scmroot/apr Cloning into '/var/lib/mock/dist-an23-build-91226-45352/root/chroot_tmpdir/scmroot/apr'... $ git reset --hard 9a18eb769dab5014631d2f57d733eeed7015cf29 HEAD is now at 9a18eb7 init from upstream