Git rebase drop : dropping the commit
- drops the exising commit from commit history
- we drop commit by running this command git rebase -i HEAD~n ( n is number of last commit count)
- An Editor opens , it shows commits names , there we need to change pick with drop infront of the specific commit which we want to drop
- Before commit drop
- Running the rebase command
- Editing the rebase file with options
- Replace pick with drop
- Checking the git log
- Fourth commit is not showing