$ git clone -n https://gitee.com/src-anolis-os/fonttools.git /var/lib/mock/dist-an23-build-353101-71012/root/chroot_tmpdir/scmroot/fonttools Cloning into '/var/lib/mock/dist-an23-build-353101-71012/root/chroot_tmpdir/scmroot/fonttools'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/fonttools * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 40a0e7a Update to 4.47.0