Force delete branch
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
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
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