Getting the Current Git Branch: Difference between revisions

From NovaOrdis Knowledge Base
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>

Revision as of 06:50, 24 July 2020

Internal

Overview

git symbolic-ref --short HEAD