$ git clone -n https://src.fedoraproject.org/rpms/xmakemol.git /var/lib/mock/f40-build-805297-144747/root/chroot_tmpdir/scmroot/xmakemol Cloning into '/var/lib/mock/f40-build-805297-144747/root/chroot_tmpdir/scmroot/xmakemol'... $ git fetch origin 71131b91e3e371b2f72466301530b70dbbd51601:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/xmakemol * [new ref] 71131b91e3e371b2f72466301530b70dbbd51601 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 71131b9 need to patch another file too