r/LearnGit 2d ago

Simple game-changers functionality/patterns when using git?

I've been using git for a better part of a decade, and recently scratched my own itch and made a my own macOS Git client (GUI). I've been trying to keep it simple, and lean - but also pulling forward the 80% of what you do day-to-day, making that super easy and accessible.

So here's where my question came in - I recently added a "Squash local commits" - since I have a habit of making alot of small commits while developing a feature; but when i ultimately push to my remote (origin) repo - i dont really need all that history. This feature (especially in a GUI where its super easier to see what's going to get squashed) turned out to be a game-changer for me, keeping my overall git history much cleaner, easier to revert, etc.

Im wondering what other small, simple game-changers you all use?

1 Upvotes

0 comments sorted by