Difference between revisions of "Git branch --delete branch name"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
*https://git-scm.com/docs/git-branch | *https://git-scm.com/docs/git-branch | ||
Line 4: | Line 5: | ||
error: Cannot delete branch 'master' [[checked out]] at '/path/to/' | error: Cannot delete branch 'master' [[checked out]] at '/path/to/' | ||
− | + | <code>[[git push origin --delete master]]</code> | |
− | |||
==See also== | ==See also== |
Revision as of 14:01, 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: