Oh shit, git: Getting myself out of bad situations
Adopted a git GUI years ago and haven't looked back. I get looks sometimes, but I can't help but gloat when I can stage and unstage individual lines in less than a second.I think anyone who uses the CLI is either trying too hard or hasn't realized the beauty of a git GUI.Takeaways:- My commit time is usually much faster than coworkers, with higher accuracy (less frequent accidental commits, etc.)- I don't remember the last time I made an irreversible change to the repo, or had an "oh shit" moment. And that's despite using some interesting git features.- Staging individual files, folders, lines of code, or hunks is easy. Makes maintaining multiple trains of though / addressing bugs while working on other code a non-issue.- It's easy to keep files uncommitted for long periods of time intentionally, without slowing down my workflow.- It's much easier to get an overview of the changes I'm making.