I have two project repositories.
When I run git log --oneline --decorate --graph
in each, one shows (HEAD, origin/dev, origin/HEAD, dev)
and the other shows (HEAD, origin/dev, dev)
.
In both cases, dev
is the default branch. Why does origin/HEAD
show in one and not the other? What does one do to make origin/HEAD
appear or not appear?
As mention in "How does
origin/HEAD
get set?", it is set automatically ongit clone
.That means:
Try (to see all commits) a:
git log --oneline --decorate --graph --all --branches