How to code review "new" repository in github
Asked Answered
Z

1

9

I want to review code that is totally new. But, I am unable to create a pull request, nor I am able to add a comment.

Does github supports reviewing code for only changes to existing repositories? What if it is a new repository built only on master? Can someone get code review through Github for a totally new repository and have others comment on it?

Zapateado answered 14/4, 2017 at 22:52 Comment(5)
Your question doesn't help anyone. Yes, GitHub has an excellent code review mechanism. First, make sure you are comfortable with git and GitHub. If you want to create a pull-request go through this link yangsu.github.io/pull-request-tutorial Also, take a look at this video: youtube.com/watch?v=d5wpJ5VimSUAscendant
Do go through the GitHub Guides: guides.github.comAscendant
@SaugatAcharya: Your answer doesn't help. I see there are two ways to create pull request - "Pull Request from a forked repository AND Pull Request from a branch within a repository." But what if it is a new repository built only on master? Can someone get code review through Github for a totally new repository and have others comment on it?Zapateado
If you only have master branch you still can review/comment on the files by explicitly clicking on a commit. For example: github.com/rails/rails/commits/master - click on any commit message to see what's changed, now hover your cursor on the line numbers to add a comment. But, this method is only suitable for a single commit and that is not how we review. In most cases we will need to code review on a bunch of commits and that's when we require pull requests.Ascendant
Consider this article for "How to do a full review of your repository contents on GitHub." exasol.com/en/resource/…Alvinaalvine
S
0

I know the question is a bit old but it might help someone.

If your code is totally new, you can go through the commits and add comments by opening the individual commits.

Syd answered 6/6 at 10:15 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Cali

© 2022 - 2024 — McMap. All rights reserved.