git branch --delete branch name

From wikieduonline
Revision as of 14:17, 19 October 2021 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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).

Related[edit]

See also[edit]

Advertising: