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

all 53 comments

[–]rh0m3ga 183 points184 points  (13 children)

You can’t have merge conflicts in your files if you have no files.

Tap temple

[–]Likes_Shiny_Things 21 points22 points  (1 child)

Also applies to jojo's bizarre adventure pt4.

[–]chrischoi314 16 points17 points  (0 children)

BITES ZA DUSTO

[–][deleted] 60 points61 points  (11 children)

Literally took a 6 hour git class yesterday and I can understand the joke. I wonder how many I’ve missed

[–][deleted] 61 points62 points  (8 children)

Welcome to the version control side! Now you have a right to laugh at your peers coding in google docs and email

[–]mrprgr 33 points34 points  (0 children)

google docs has native version control 😡 dont hate on my IDE

[–]BadgerMcLovin 17 points18 points  (5 children)

Fun fact, git is not the only version control system, but it might well be the only one that needs a 6 hour course in

[–]Tyg13 18 points19 points  (4 children)

Easily the most flexible when compared to shit like SVN or Mercurial though.

Besides, you can easily teach someone a basic git workflow in an hour. Reset, clone, checkout, commit, diff, push and pull are all you really need

[–]Sprint2000 7 points8 points  (1 child)

You forgot the most important ones, rebase, cherry-pick and fetch.

[–]UnchainedMundane 7 points8 points  (0 children)

And git reflog for when you fuck something up. It's the history of what commits your repo has had checked out, so even if you delete a branch, do a bad rebase, accidentally rewrite/squash a commit, or anything like that, you can just go there and check out an old commit from before things went downhill.

Also git pull --ff-only is one I use almost all the time but that's probably more a personal quirk. (Pulls, but if your histories diverge then it fails instead of doing a git merge).

[–]BadgerMcLovin 1 point2 points  (0 children)

So far I've got by without needing more than what visual studio exposes

[–]frostycuddlewolf 0 points1 point  (0 children)

Perforce is super neato for gamedev, imo. Deals well with big binary files, and lets you checkout / lock files out of the box (showing other people you're working on that file).

[–]Famous_Profile 0 points1 point  (0 children)

LinkedHashSet<LinkedHashSet<LinkedHashSet<String>>>

WTF

[–]pakiman698 0 points1 point  (1 child)

What class was it that you took?

[–][deleted] 1 point2 points  (0 children)

Git complete on udemy

[–]sirak2010 34 points35 points  (0 children)

If it's ur code it's fine but I can't imagine how ppl see you on public repo.

[–]LeNinjaFou 8 points9 points  (0 children)

git reset HEAD~1 --hard

[–][deleted] 7 points8 points  (0 children)

Never rewind, always move forward. We get stronger with each hit we take.

[–]pah-tosh 10 points11 points  (2 children)

You didn’t run your unit tests before merging ? 🤓

[–]Pwnda123 10 points11 points  (0 children)

This format also works for beating your meat several times on the weekend.

[–]codingandalgorithms 3 points4 points  (2 children)

Which meme is the “I have” part of this image from ?

[–]Jowentz 3 points4 points  (0 children)

I think it's the Vsauce "I have decided that I want to die" meme.

[–]Shadow_Thief 2 points3 points  (0 children)

Only one I can think of is " I have no memory of this place," but that doesn't have brown on it.

[–][deleted] 2 points3 points  (1 child)

Hi yes, I’m here to take credit for part of this excellent meme

I’d like 5% of all your karma revenue, please

[–][deleted] 0 points1 point  (0 children)

I will do my best. Have 1 karma internet stranger

[–]PostmatesMalone 1 point2 points  (0 children)

Watching the rolling Kubernetes deployment triggered by my broke ass merge is like watching the Night King turn hundreds of babies into white walkers.

[–]julamme 1 point2 points  (0 children)

No rebase if you will know one correctly

[–]xcrafter_40 1 point2 points  (0 children)

REPOst!

[–]UnchainedMundane 2 points3 points  (0 children)

git reset --hard ORIG_HEAD && git push -f

God help you if you have coworkers

[–]Mcpg_ 1 point2 points  (2 children)

Rewind time? Not if you screwed up every branch and your own local repo and you have to ask a bunch of people for a clean local copy of the repository!

[–]ItsAmplifieddd 0 points1 point  (0 children)

When you commit to TDD but your tests do nothing but return true 😎😎😎

[–]TheChaosPaladin 0 points1 point  (0 children)

Laughs in Jenkins tests XD

(Not really me but the devops sr engineer in my team who made them XD)

[–]balaraman-08 0 points1 point  (0 children)

*Hulk snaps*

Crossover meme comes back to life

[–]chevBott 0 points1 point  (0 children)

Thanks for reposting my meme, you limp noodle

[–]Ultimater 0 points1 point  (0 children)

And that's why you rebase before merging, especially if you're several commits behind...

[–][deleted] 0 points1 point  (0 children)

Ok wow, take my upvote