Difference between revisions of "Git branch --delete branch name"
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
git branch --delete master error: Cannot delete branch 'master' checked out at '/path/to/'
git push origin --delete master
See also
git branch
,git: upstream
,git branch --delete branch name
,[ --list | -a | -r | -M ]
Advertising: