r/coding • • Aug 22 '17

You're using git wrong

https://dpc.pw/blog/2017/08/youre-using-git-wrong/
30 Upvotes

71 comments sorted by

View all comments

7

u/max630 Aug 23 '17

in general, I like your attitude, but there are 2 things:

  • the longer you develop separately, the more merge conflucts you get in the end.

  • there are many people around which are eager to have "clean" (meaning linear) history

1

u/akkartik Aug 23 '17 edited Aug 23 '17

That's the beauty of it: each of the decentralized repos may have mostly linear history. It may just be different linear histories.

Your first point is valid. I think truly decentralized development works for the Kernel for two reasons:

  • Many (speculative) branches are never ever merged.

  • Distant parts of the distributed network tend not to be modifying the same parts of the codebase (and then both getting merged).

Hmm, now I'm imagining a global view of the decentralized network that can track hot spots in the codebase that are liable to cause friction. That would help people touching those parts realize that some situational awareness would be useful.

1

u/jazzamin Aug 23 '17

Not quite what you want but for inspiration Gource visualizes the history of a git repo.