-- Leo's gemini proxy

-- Connecting to republic.circumlunar.space:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

Options for code reviews with Git


We're thinking about switching to Git for my work, and I want to be confident we can still support good code reviews if we make the switch.


I am a big fan of in-person reviews, and for that, git difftool is enough but sometimes you need to do it asynchronously, and then you need a tool or a process or something.


Here are the options as I see them so far (please comment if you know others I should consider):


Emailing patches. Git has git format-patch and git bundle that allow creating a file containing changes that can be sent by email or message. These can be reviewed as patches or applied to the working tree and reviewed in context.

Feature branch and pull request. Devs to push their changes to a branch in a shared repo and send an email or message asking a colleague to pull the branch. The reviewer looks at the changes in the repo or pulls them, then either sends back comments, or merges the branch into their own and delivers to the master branch.

Tools. There are several extra tools that sit in front of Git and deliver changes when they are reviewed. These include: Gerrit, Critic, Review Board.


Gerrit

Critic

Review Board


References:


StackOverflow: Using git for Code Reviews?

A successful Git branching model

Integrating topic branches in Git


StackOverflow: Using git for Code Reviews?

A successful Git branching model

Integrating topic branches in Git


Originally posted at 2014-08-18 09:19:24+00:00. Automatically generated from the original post : apologies for the errors introduced.


original post

-- Response ended

-- Page fetched on Sun May 19 05:28:13 2024