If you started to work on a feature but arrived to a dead-end. You can get rid of the whole branch without merging it.

git branch -D feature