Git symbolic-ref: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Git Concepts - conventional_symrefs") |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
* [[Git_Concepts#Conventional_symrefs|Git Concepts - conventional_symrefs]] | * [[Git_Concepts#Conventional_symrefs|Git Concepts - conventional_symrefs]] | ||
=Currently Checked Out Branch= | |||
<syntaxhighlight lang='bash'> | |||
git symbolic-ref --short HEAD | |||
</syntaxhighlight> | |||
See [[Getting the Current Git Branch]] for alternatives. |
Latest revision as of 07:03, 24 July 2020
Internal
Currently Checked Out Branch
git symbolic-ref --short HEAD
See Getting the Current Git Branch for alternatives.