-
Notifications
You must be signed in to change notification settings - Fork 0
HW 0
1. How do I use GitHub to perform a code review?
There are a couple ways to check if any changes (updates or new code) have been made which requires code review:
- Pull Request: Check to see if someone in your team has made any Pull Request. Pull Requests are made by your team members to alert that they have pushed changes to the repository.
Once you open the Pull Request, you can see what is about to be merged. You can also start discussion regarding the changes. There are three tabs, Conversation, Commits and Files Changed. In Files Changed tab, you can see the diff of commits and can leave inline comments. For more information on pull request, visit Pull Request page
- Watch A Project: Subscribe to watch a project on the project page. When the owner updates the project, you will see what happened in your dashboard.
2. How do I find someone to do a code reviewer?
- Make a Pull Request to let others in your team that you have pushed your changes to repository on GitHub. They can review your changes, discuss potential modifications and they can also push their commits as a follow up. For more information on pull request, visit Pull Request page
3. What should I look for when I perform a code review?
- Review Pull Request: You can look for changes by comparing your branch and the master branch. Also, you can review all the commit comments and which files have changed. You can also get a list of contributors to your branch.
4. I just started working on an issue. Should I assign it to myself?
-
Yes. In this way, your team knows that the particular issues is being addressed by you. Also, keep in mind that one assignee is responsible for working on the issue at any given time.
-
It is similar to bug tracker, but GitHub's Issue tracker is more than just bug tracker. It is useful in keeping track of tasks, enhancements and bugs.
5. What happens if I receive feedback that I should make some changes? Should I ask the original reviewer to look at the changes after I'm done?
- After you are done with your changes, you can create a Pull Request to notify your team or selected members of your team including the original reviewer. Upon receiving your Pull Request, the interested parties will review your changes.
6. I committed a change that fixed an issue. Should I close it?
- If you name an issue using the keyword (see list below) such as 'Fixes#1' and your commit message include the name, it will automatically close the issue when you commit it. Otherwise, you should go to the Issue tracker and close it.
- Close, Closes, Closed
- Fix, Fixes, Fixed
- Resolve, Resolves, Resolved