91
Advanced git commands every senior software developer needs to know
(optimizedbyotto.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I'm gonna be completely honest. I don't truly get all the inner working of git. I'm a senior DevOps Engineer and been using git for a decade, but is git is simular to
sed
orawk
for me. I know how to do what I want really well but when shit goes wrong, I'm flying by the seat of my pants.A lot of times, I just know what to do to fix things because it's rote memory with substitutions. But if you needed me to explain upstreams and rebases in actual detail, I'd be in trouble. But it rarely becomes an actual problem to the level where I'll dedicate time to learning all the advanced stuff.
That said, I've learnt that most senior people also just pretend they get it all but instead are just relying on rote memorization and basic concepts. Anyone else here in the same camp of being a fraud with git?
I had the same feeling until I started using
gitk
. I always have agitk
window open and press F5 to reload, so it shows me the state of everything after I've run git commands. Now I grasp everything much better.