Getting the Current Git Branch: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 7: | Line 7: | ||
git symbolic-ref --short HEAD | git symbolic-ref --short HEAD | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Git_rev-parse#Currently_Checked_Out_Branch|git rev-parse --abbrev-ref HEAD]] |