29
Appreciation post: finally figured out my Git merge mess after 6 months
I used to just copy and paste files between branches like a caveman because merges always broke something. Finally sat down with a YouTube tutorial from this guy named Gary last Tuesday and realized I was skipping the staging step before committing. Everything started clicking when I saw how the commit history actually tells a story. Now I use git status like every 30 seconds and my project folder is way cleaner than before. Has anyone else had that moment where you find out you were doing the most basic thing wrong the whole time?
2 comments
Log in to join the discussion
Log In2 Comments
noahw532d ago
Wait, you were straight up copying and pasting files between branches for six months? That's actually wild, I've never heard of anyone doing that before. Honestly, watching a guy named Gary unlock the staging step for you is kind of hilarious but also super relatable. Congrats on finally joining the 21st century with your git workflow.
1
eva_rivera2d ago
Oh man, I've definitely been there with the copy-paste workflow, it's way too easy to fall into that habit when you're just trying to get things done. A quick tip that helped me was aliasing 'git add -A' so it's just a couple keystrokes, makes it way less tempting to skip the staging step.
2