> For the complete documentation index, see [llms.txt](https://tbhp.gitbook.io/web-course/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tbhp.gitbook.io/web-course/code-review/how-to-review-an-entire-repo-on-github.md).

# 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

![](https://921947449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKgoB5VtANw65HCpHlPYn%2Fuploads%2Ff7tjuuZtW67JXdW8s3gr%2Fimage.png?alt=media\&token=64fc76fb-beaf-4d43-83b0-922ae9904d7d)

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

![](https://921947449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKgoB5VtANw65HCpHlPYn%2Fuploads%2FBQbvBEK41q7qWzdGXG83%2Fimage.png?alt=media\&token=036d7f16-d88b-4503-899c-b4e9fdf56328)

### 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

![](https://921947449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKgoB5VtANw65HCpHlPYn%2Fuploads%2FGg1h7XxZci5qhIurcziU%2Fimage.png?alt=media\&token=31f71262-1fa2-4c08-aa1b-6e27e6c81b67)

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

![](https://921947449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKgoB5VtANw65HCpHlPYn%2Fuploads%2FtnCeCJqTEXWYZKctz2vM%2Fimage.png?alt=media\&token=c6b90fc4-eae8-4962-b5c6-4d0e3037d2d0)

3\. This will create an issue with a link as below. Leave a comment&#x20;

![](https://921947449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKgoB5VtANw65HCpHlPYn%2Fuploads%2FCUjfL5nEcf00a45lbj6p%2Fimage.png?alt=media\&token=712cf6ba-884b-4285-9dad-4d5c7303995d)

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

![](https://921947449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKgoB5VtANw65HCpHlPYn%2Fuploads%2FDwiPWjDRKZPLJT9X5sG1%2Fimage.png?alt=media\&token=32b79276-de81-4429-8319-a0f46b537d00)

![](https://921947449-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKgoB5VtANw65HCpHlPYn%2Fuploads%2Ff7Tth3IHonDdnBxlIvpi%2Fimage.png?alt=media\&token=b3cb3c2f-bd06-4794-adc4-ba8fba7adcb1)

### 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.
