I'm back!
Today, definitely on the shorter side.
I've had some thoughts when using git lately.
On my branch, I had a few commits - but I wanted to push them as a single one instead.
My gut instinct was to use squash - but it's kind of a big deal 🤔
You need to enter interactive rebase, and select the commits to be squashed.
I felt like trying something else as my changes weren't complicated and just did soft reset then amended the commit - worked like a charm✨!
And the thoughts? I guess I need to step up my git game - who knows how many things are lurking in the documentation that I'm not aware of due to habits.
What are your go-to tricks to save the day?
See you soon... tomorrow, hopefully!
Top comments (0)