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

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
  [[git push origin --delete master]]
 
  [[git push origin --delete master]]
  
   
+
  git branch --delete master
 +
Deleted branch master (was 8a18cb0).
  
 
==See also==
 
==See also==

Revision as of 14:16, 19 October 2021

git branch --delete master
error: Cannot delete branch 'master' checked out at '/path/to/'
git push origin --delete master
git branch --delete master
Deleted branch master (was 8a18cb0).

See also

Advertising: