Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete branch git

//delete locally
git branch -d branch_name

//delete remotely
//git push <remote_name> :<branch_name>
// ex. git push origin :serverfix
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #branch #git
ADD COMMENT
Topic
Name
1+4 =