As others have mentioned, its not perfectly clear what the question is asking, but if like me, what you really wanted to do was decorate only your local branches, leaving would be remote branches undecorated, you could use a variation of the following invocation:
git log --graph --oneline --decorate-refs=refs/heads
where the key argument is --decorate-refs=refs/heads
.
This would result, as an example, in going from
(base) jdoubled@aig35 ~/packages/solarized $ git log --graph --decorate --pretty=oneline --abbrev-commit --all -n9
* 7ef17bf (HEAD -> topic_demoX) this demos going great
* b583669 (master) stupid empty commit for illustration only
* e40cd41 (origin/master, origin/HEAD) add tmux by @seebi!
* ab3c564 Merge pull request #256 from sgerrand/add-credit-for-xfce4-terminal-port
|\
| * 4f90b03 Adds attribution for Xfce terminal port. Fixes #255.
* | 8a909d3 merge upstream xfce4-terminal changes
* | 04583c9 merge upstream gedit changes
* | f9e5943 add gedit back as a subtree
* | 53bfffc remove gedit submodule
to (note absence of 'origin/master' on e40c)
(base) jdoubled@aig35 ~/packages/solarized $ git log --graph --decorate --pretty=oneline --abbrev-commit --all -n9 --decorate-refs=refs/heads
* 7ef17bf (topic_demoX) this demos going great
* b583669 (master) stupid empty commit for illustration only
* e40cd41 add tmux by @seebi!
* ab3c564 Merge pull request #256 from sgerrand/add-credit-for-xfce4-terminal-port
|\
| * 4f90b03 Adds attribution for Xfce terminal port. Fixes #255.
* | 8a909d3 merge upstream xfce4-terminal changes
* | 04583c9 merge upstream gedit changes
* | f9e5943 add gedit back as a subtree
* | 53bfffc remove gedit submodule
Kudos should go to this answer on similar question: https://stackoverflow.com/a/55730910/13938570
Also note, that the decorate-refs feature was added somewhere between the ridiculously ancient 1.8 (my sys admin's supplied version) and 2.28 versions of git. Maybe someone can comment with what specific version this became possible.