DEV Community

Discussion on: 11 Painful Git Interview Questions You Will Cry On

Collapse
 
jnareb profile image
Jakub Narębski

The main goal of rebase is to prepare a branch before submitting pull request (or equivalent), in the "blessed repository" workflow. It helps maintainer to have up-to-date changes, and less conflicts.

While at it, you can cleanup all the "fixup" commits with git rebase --interactive.

Collapse
 
cseeman profile image
christine

Is the "blessed repository" or integrator workflow similar to a forking workflow? I was trying to research the difference but they sound similar to me.

Thread Thread
 
jnareb profile image
Jakub Narębski

I am talking here about workflow titled "Integration-Manager Workflow" in the "Pro Git" book, chapter 5.1: Distributed Workflows.

Thread Thread
 
cseeman profile image
christine

Got it, the infographics are quite helpful with reading through git workflows.