Here’s the situation. Everything seems to be working well with your current code, so you do a git commit. Then you notice a small bug, or maybe you forgot to comment an important line of code, or to remove all of your console.logs. So you make your minor changes… and git commit again. Then you push to production - and let’s face it, nothing ‘just works’ when you push to production - and now you need to make a few...
How to Combine Git Commits - Squash 'em with a rebase!
