How to review an entire repo on github

There unfortunately is not a nice way to do a code review for an entire repository on github. If you find a better way please let me know.

Comments on a commit

This way works when the repo has only one or a few commits. But quickly becomes cumbersome on larger projects

  1. Find the commit you are interested in

2. Leave a comment by clicking on the plus button next to a line and entering your comment

Leave issues

You can perform the code review by creating issues (ha ha ha...)

  1. On a file click on a line you want to leave a review comment on

2. On the ellipsis '...' select 'Reference in a new issue'

3. This will create an issue with a link as below. Leave a comment

4. The end result is an issue with the source code referenced

New Repo + Pull Request (PR)

Finally you can create a new empty repo. In it paste the existing codebase. You can then commit it and raise a pull request which you can then self review.

Last updated