| ▲ | hinkley 4 days ago | ||||||||||||||||
I had to stop two devs from fisticuffs. One of them used merge and manufactured a bug in the other’s code and was making a stink about it in the middle of the cubicles. Merges lie I worse ways than rebase does. Hands down. With rebase I break my own shit. With merge I can break yours. Since your code is already merges into trunk, it has fewer eyes on it now and it’s on me to make sure my code works with yours and not vice versa. | |||||||||||||||||
| ▲ | anonymars 4 days ago | parent [-] | ||||||||||||||||
I don't follow. In either case two branches are combined into one: With a merge commit anyone can see each original path, and the merge result (with its author), and even try the three-way merge again. With a rebase, the original context is lost (the original commits were replaced by the rebased versions). A rebase is a lossy projection of the same operation. A rebase lies about its history, a merge does not. | |||||||||||||||||
| |||||||||||||||||