$ git clone -n https://gitee.com/src-anolis-os/libXpresent.git /var/lib/mock/dist-an23-build-232509-62593/root/chroot_tmpdir/scmroot/libXpresent Cloning into '/var/lib/mock/dist-an23-build-232509-62593/root/chroot_tmpdir/scmroot/libXpresent'... $ git reset --hard origin/a23 HEAD is now at 1ce04d7 Init package from upstream