Back

Git merge vs rebase

Copy Below Code View As A Text File Show Text Only Show API Edit Code
                            

Git Merge: Git merge get all commits from other branch to master and keeping the histroy record , you wil see arrows combining the commits. Git Rebase: Git rebase have same but it does not keep the history of the commits , its simply pick commits and put them in the START master branch timeline, so it will look like that all these commits are being made on master, there will no arrow. And it will clean your master branch, and you can easily debug the error if any you faced. git log will also be easy.