Getting the Current Git Branch: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 2: | Line 2: | ||
* [[Git_branch#Getting_the_Current_Branch|git branch]] | * [[Git_branch#Getting_the_Current_Branch|git branch]] | ||
=Overview= | |||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
git symbolic-ref --short HEAD | git symbolic-ref --short HEAD | ||
</syntaxhighlight> | </syntaxhighlight> |