Rodolfo Bandeira

Rodolfo Bandeira

software, electronics, security, devops, thoughts

(Video) How to squash multiple commits in just one using git

Happy new year!

I’m planning to start creating some video content in Youtube and this is my first try. Please take a look and let me know via Twitter @rodolfobandeira what do you think.

The idea of this first video is show you how “rebase” or just merge multiple commits in just one while using git

Here we a list of commands that you can see in the video.


git checkout -b feature/my-feature
touch 1.txt
git add .
git commit -m 'my Commit'
git rebase -i master

Thanks, Rodolfo

Last modified:

LinkedIn
WhatsApp