$ git clone -n https://src.fedoraproject.org/rpms/fex-emu.git /var/lib/mock/f41-build-845992-162905/root/chroot_tmpdir/scmroot/fex-emu Cloning into '/var/lib/mock/f41-build-845992-162905/root/chroot_tmpdir/scmroot/fex-emu'... $ git fetch origin c9dc06f5a4253b317bfd28c5b30647d250cbb41a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/fex-emu * [new ref] c9dc06f5a4253b317bfd28c5b30647d250cbb41a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c9dc06f Initial import; Fixes: RHBZ#2305342