til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as a developer

View project on GitHub

Delete local and remote branch

Sometimes you want a branch to go away completely

# local
$ git branch -d <branch_name>

# remote
$ git push origin --delete <branch_name>

References