Git symbolic-ref

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Currently Checked Out Branch

git symbolic-ref --short HEAD

See Getting the Current Git Branch for alternatives.