How to use “git log –graph –oneline –all” only on my local branches?

This will show you all local branches.

git log --graph --oneline --branches

From git log --help

--branches[=<pattern>]
    Pretend as if all the refs in refs/heads are listed on the command line as <commit>.
    If <pattern> is given, limit branches to ones matching given shell glob.
    If pattern lacks ?, *, or [, /* at the end is implied.

So --branches is enough. I like to add --decorate and give the whole command a short alias.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)