Git log -graph; HOME up

When i use

git log --graph --all

he always shows me the last commit at the top of the chart.

Is there any option to always raise the HEAD up?

+2
source share
2 answers

But the last commit in the current branch is what HEAD points to.

+3
source

Unfortunately, you cannot have HEAD at the top of the chart if you use --all. Your current HEAD may be a child of other commits (in other branches), in which case it should be lower than its parents.

0
source

All Articles