$ git clone -n https://gitee.com/src-anolis-os/freetype.git /var/lib/mock/dist-an23-build-118369-45904/root/chroot_tmpdir/scmroot/freetype Cloning into '/var/lib/mock/dist-an23-build-118369-45904/root/chroot_tmpdir/scmroot/freetype'... $ git reset --hard origin/a23 HEAD is now at a6245d5 update to 2.12.1