Getting the Current Git Branch: Difference between revisions
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Git_branch#Getting_the_Current_Branch|git branch]] | * [[Git_branch#Getting_the_Current_Branch|git branch]] | ||
* [[git rev-parse]] | |||
* [[git symbolic-ref]] | |||
=Overview= | =Overview= | ||
[[Git_rev-parse#Currently_Checked_Out_Branch|git rev-parse --abbrev-ref HEAD]] | |||
git | |||
[[ | [[Git_symbolic-ref#Currently_Checked_Out_Branch|git symbolic-ref --short HEAD]] |