pablocattaneo
5/31/2017 - 6:06 PM

Delete a local branch (Without delete remote branch)

Delete a local branch (Without delete remote branch)

#over a branch different from the branch you want to delete
git branch -D branch_name

# Only delete brach if it was previously merged
git branch -d branch_name