$ git clone -n https://src.fedoraproject.org/rpms/insight.git /var/lib/mock/f42-build-3406858-45143/root/chroot_tmpdir/scmroot/insight Cloning into '/var/lib/mock/f42-build-3406858-45143/root/chroot_tmpdir/scmroot/insight'... $ git fetch origin b796d12a59dc6a30af6c98c338c29845aecda67a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/insight * [new ref] b796d12a59dc6a30af6c98c338c29845aecda67a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b796d12 Patch "bool" to rename a variable conflicting with a reserved word.