in Git by
What is the difference between rebasing and merge in Git?

► Click here to show 1 Answer

0 votes
In Git, the rebase command is used to integrate changes from one branch into another. It is an alternative to the “merge” command. The difference between rebasing and merge is that rebase rewrites the commit history in order to produce a straight, linear succession of commits.

Merging is Git’s way of putting a forked history back together again. The git merge command helps you take the independent lines of development created by git branch and integrate them into a single branch.
Learn More with Madanswer

Related questions

+1 vote
asked Aug 16, 2020 in Git by RShastri