Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete a git branch

# delete branch locally
git branch -d <branchName>
#example 
git branch -d test
# you add ,commit but not merged and can not delete the branch , use this one
#just use capital D 
git branch -D <branchName> 
#example 
git branch -D test
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #git #branch
ADD COMMENT
Topic
Name
2+4 =