$ git clone -n https://src.fedoraproject.org/rpms/nautilus.git /var/lib/mock/f41-build-847964-164378/root/chroot_tmpdir/scmroot/nautilus Cloning into '/var/lib/mock/f41-build-847964-164378/root/chroot_tmpdir/scmroot/nautilus'... $ git fetch origin 36d280cf240347daf64d1151e4464d7792bb8b5e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/nautilus * [new ref] 36d280cf240347daf64d1151e4464d7792bb8b5e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 36d280c Manually rebase patch from previous commit