Konstantin Ryabitsev <konstantin@xxxxxxxxxxxxxxxxxxx> writes: > Does it make sense to add logic for whether this is done in a bare repo? > I can't imagine common cases where a FETCH_HEAD would be useful outside > of a checkout where a merge is likely to happen. It is entirely valid to respond to a one-shot "My work is published there; could you see if I am doing anything obviously wrong?" with git fetch git://k.org/somebody/linux.git check-me-please git log ..FETCH_HEAD git diff ...FETCH_HEAD i.e. without touching any of our refs, and possibly in a bare repository, no?