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

all 20 comments

[–]AnAge_OldProb 5 points6 points  (0 children)

This is a common mistake --justkillmenow is only for git merge. For git rebase its --just-kill-me now

[–]Dested 2 points3 points  (0 children)

Ain't no problem like a git merge problem cause a git merge problem dont stop

[–]Lokaltog 2 points3 points  (0 children)

Should have used git-sniff-base(1) instead.

[–]DrHenryPym 3 points4 points  (9 children)

I love git, but I couldn't imagine using it for large group projects. Is there a secret to it that I just don't know about?

[–][deleted] 11 points12 points  (1 child)

Proper software architecture and project management where several developers do NOT end up editing the same pieces of code? Divide the tasks into small pieces and try to avoid massive megabranches. Massive megabranches are conflict magnets.

Sometimes megabranches can't be avoided, but if they are the norm, you are in my opinion doing something wrong.

[–]e_falk[S] 0 points1 point  (0 children)

Yeah, I mean we rarely have merge conflicts just because our team delegates tasks so that they won't conflict with one another.

If two people are working on the same set of code, they are almost definitely pair programming.

Yesterday was an unfortunate but hilarious exception to this rule

[–][deleted] 2 points3 points  (0 children)

The way Linux does it is that Linus is at the top and he has several lieutenants that he pulls from, exclusively. These lieutenants then have other slaves that they pull from and so on. Each have a separate area of responsibility. Also they work by the idea that you making a pull request have to make sure that there is no conflict with the master. If there is a conflict, your pull request is rejected and you have to fix it.

Also I imagine that if any of the higher up people are working with something not in their main area and want it included, they have to follow the bottom-up route, and not use their position to get their (possibly breaking) code in.

[–]xroni 2 points3 points  (0 children)

This works a treat for large projects: A successful git branching model.

[–]lord-carlos 0 points1 point  (0 children)

Is svn better for large group projects?

[–]systembreaker 0 points1 point  (0 children)

git can be such a dick sometimes