$ git clone -n https://gitee.com/ocs-commit/freetype.git /var/lib/mock/dist-ocs23-base-build-304800-30846/root/chroot_tmpdir/scmroot/freetype Cloning into '/var/lib/mock/dist-ocs23-base-build-304800-30846/root/chroot_tmpdir/scmroot/freetype'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-commit/freetype * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a355c18 - [Type] bugfix - [DESC] Apply patches from rpm-tracker - [Bug Fix] 26b545f36867508da2f2f318a93d78e673436598.patch: apinames: Fix out-of-scope reference of a static array.