Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete git local branch

// delete branch locally
git branch -d branchName

//delete unmerged local branch
git branch -D branchName

// delete branch remotely
git push origin --delete branchName
Source by www.git-tower.com #
 
PREVIOUS NEXT
Tagged: #delete #git #local #branch
ADD COMMENT
Topic
Name
7+3 =