Difference between revisions of "Git branch"

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

Revision as of 14:14, 19 October 2021

Advertising: