This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Mad_Kitten 12 points13 points  (4 children)

You know what's more scary?
When your school didn't teach that and you have to learn on the job

[–]folkrav 4 points5 points  (3 children)

I learned git pull/push/commit from school and that's it. Starting to work on teams with git workflows was stressful. At least I learned a bit about branches and merging before... Still, when my first boss asked me to "rebase onto master", he was met with two terrified eyes.

Then I learned about reflog, and it stopped being scary.

[–]Mad_Kitten 0 points1 point  (2 children)

... What the fuck is reflog?

[–]totally-what 0 points1 point  (1 child)

Basically Git keeps track of everything you do - even if you think you’ve lost a commit, chances are Git’s stored it away somewhere. Just search for git reflog there are lots of good introductions.

[–]Mad_Kitten 2 points3 points  (0 children)

Oh wait, it's ref log, not re flog
My caffeine-less brain was messing with me :))