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