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 gitexplorer.com #
 
PREVIOUS NEXT
Tagged: #delete #git #local #branch
ADD COMMENT
Topic
Name
1+6 =