I often use "git rebase -i FETCH_HEAD", this adds auto completion for the various HEADS.
git completion: Rename __fish_git_heads to __fish_git_refs
In git speak, these are refs, while there can be several heads which are
refs in turn.
fish uses ^ to redirect stderr, so it should be :
command git rev-parse --git-dir ^/dev/null
git completion: Add HEADS to __fish_git_refs
Ranges work with tags and HEAD etc.
git completion: Add HEADS and tags to git rebase
git completion: add heads
Allows to complet "git checkout FETCH_HEAD" and similar.
Merged as 06003f8..2df263f.