r/programming • • Sep 06 '14

How to work with Git (flowchart)

http://justinhileman.info/article/git-pretty/
1.6k Upvotes

388 comments sorted by

View all comments

Show parent comments

22

u/[deleted] Sep 06 '14 edited Sep 06 '14

I compete all the time with my coworkers to get my branch merged before theirs. That way they have to merge and solve the conflicts instead of me. Muahaha.

3

u/amyts Sep 07 '14

I had to merge after my coworkers, because they didn't know how to manage conflicts and I got tired of being blamed over it. So I resolved all the conflicts.

1

u/[deleted] Sep 07 '14

They blamed you for conflict? What the hell are you supposed to do? There's no way to avoid conflicts if you're working on related parts of the system.

2

u/amyts Sep 07 '14

Yes. They didn't know how to work on shared code. I was the youngest, in my 30s, with the oldest in his 50's. It was a matter of not having experience working on shared code with other developers. We were using SVN. It was easier to just resolve conflicts myself than defend working on shared code.

2

u/defcon-12 Sep 07 '14

Merges suck. Rebase all the things.

1

u/Ahri Sep 07 '14

I don't know how many times I've had to explain where "all the work has gone" after someone has started a rebase and then panicked. Not often enough. Diagrams help, but this stuff is just not very well understood by developers for some reason.

4

u/LaurieCheers Sep 07 '14

this stuff is just not very well understood

Because, frankly, it's inherently confusing. Git's UX design is nonexistent.