Site Tools


marc:linux:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
marc:linux:git [2022/08/09 09:40] – [Rebasing vs Merging] marcvmarc:linux:git [2022/08/09 09:46] (current) – [Rebasing vs Merging] marcv
Line 1111: Line 1111:
  
 {{:marc:linux:rebasing1.png?direct&700|}} {{:marc:linux:rebasing1.png?direct&700|}}
 +
 +Because of these merges, there are a lot commits which are not really functional but just merges. The same goes for the other developers.
 +
 +Instead of merging the changes from remote main all the time, we can //rebase// which rewrites history:
 +
 +{{:marc:linux:rebase2.png?direct&700|}}
 +
  
 ===== Git Rebase Basics =====  ===== Git Rebase Basics ===== 
  
 ===== When NOT to Rebase =====  ===== When NOT to Rebase ===== 
marc/linux/git.1660030817.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki