Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

What's the different between merge and rebase in git?

0 votes
40 views
added Apr 28, 2016 in Git by birdygeek Sergeant (2,060 points)
recategorized Nov 17, 2017 by LC Marshal

Instead of using a merge commit, rebasing re-writes the project history by creating brand new commits for each commit in the original branch.

The major benefit of rebasing is that you get a much cleaner project history. First, it eliminates the unnecessary merge commits required by git merge.

Learn more about merge vs rebase here.

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...