This shows you the differences between two versions of the page.
— |
docu:csheet:sysadm:script:git:delete_branch [2021/11/09 00:27] (current) admin created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== Delete branch from both local and remote ==== | ||
+ | \\ | ||
+ | <code bash> | ||
+ | git branch -d BRANCHNAME | ||
+ | git push origin --delete BRANCHNAME | ||
+ | </ |