I have a Git alias that expands to:
git log --graph --oneline --all --decorate
According to man git log
there are a couple of suspicious options: --not
and --branches
; but I can't make it work properly.
How should I edit that to hide the stashes?
FYI: as per the accepted question and comment my .gitconfig
alias now looks like this:
[alias]
l = log --branches --remotes --tags --graph --oneline --decorate --notes HEAD
--tags
to be redundant, since no tag should ever be a descendant of thehead
of a branch or remote, though I haven't verified this. – Kuroshio