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

From wikieduonline
Jump to navigation Jump to search
(Created page with " git branch --delete master error: Cannot delete branch 'master' checked out at '/path/to/' {{git branch}}")
 
Line 1: Line 1:
  
 
  [[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 branch}}
 
{{git branch}}

Revision as of 13:56, 19 October 2021

git branch --delete master
error: Cannot delete branch 'master' checked out at '/path/to/'


git branch, git: upstream, git branch --delete branch name, [ --list | -a | -r | -M ]

Advertising: