Difference between revisions of "Git branch --delete branch name"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[git branch]] --delete [[master]]
 
  [[git branch]] --delete [[master]]
 
  error: Cannot delete branch 'master' [[checked out]] at '/path/to/'
 
  error: Cannot delete branch 'master' [[checked out]] at '/path/to/'
 +
 +
 +
[[git push origin --delete master]]
  
 
==See also==
 
==See also==

Revision as of 13:59, 19 October 2021

Advertising: