I have a Git alias that expands to:
git log --graph --oneline --all --decorate
According to man git log
there are a couple of susp
My alias:
[alias]
l = log --oneline --decorate --graph --exclude=refs/stash
In this case you will be able to use these forms without showing the stash:
git l
for the current branchgit l feature234
for a specific branchgit l --all
for the overall historyFrom the manual:
--exclude=
Do not include refs matching that the next --all, --branches, --tags, --remotes, or --glob would otherwise consider.