Git: how can those supporting git / linux supporting so many branches

Personally, if I look at git or linux repo with gitk, I am completely overwhelmed by the huge amount of merges / forks. I absolutely do not understand what is happening.

I assumed that in general you are trying to have as linear a story as possible, and only a few branches (e.g. master, maint, next, pu - thats it) in a public repo. That is, I assumed that mergers are rare, and relocation is mainly used. Apparently I'm wrong.

  • I wonder what to do with git / linux to have a good overview.
  • Why don't they use rebase more often and have many more branches than just master, maint, next pu?
+5
source share
4 answers

, Git rebase.

Do not rebase commits that you have pushed to a public repository.

, , rebase , , . . , , .

- , . 300 . .

+3
+2

, git, , ( master, remotes/origin/master)

( , git )

, origin/branch, .

: , , " git ?".

0

Greg K-H : . ; , USB.

0

All Articles