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