$ git clone -n https://gitee.com/fundawang/harfbuzz_1.git /var/lib/mock/dist-an23-build-183232-60221/root/chroot_tmpdir/scmroot/harfbuzz_1 Cloning into '/var/lib/mock/dist-an23-build-183232-60221/root/chroot_tmpdir/scmroot/harfbuzz_1'... $ git fetch origin 26b7a3e75bb584a7d157503c98bcfbc204ed0b15:KOJI_FETCH_HEAD From https://gitee.com/fundawang/harfbuzz_1 * [new ref] 26b7a3e75bb584a7d157503c98bcfbc204ed0b15 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 26b7a3e fix flag