Git symbolic-ref

From NovaOrdis Knowledge Base
Jump to: navigation, search

Internal

Currently Checked Out Branch

git symbolic-ref --short HEAD

See Getting the Current Git Branch for alternatives.