Difference between revisions of "Git branch"

From wikieduonline
Jump to navigation Jump to search
Line 28: Line 28:
 
=== Get current branch name ===
 
=== Get current branch name ===
 
  [[git rev-parse --abbrev-ref HEAD]]
 
  [[git rev-parse --abbrev-ref HEAD]]
 +
 +
[[git branch]]
  
 
== Related commands ==
 
== Related commands ==

Revision as of 14:15, 19 October 2021

Advertising: