3

Features · Code review · GitHub

 1 year ago
source link: https://github.com/features/code-review
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
features-hero-code-review.svg

Write better code

On GitHub, lightweight code review tools are built into every pull request. Your team can create review processes that improve the quality of your code and fit neatly into your workflow.

Start with a pull request

Pull requests are fundamental to how teams review and improve code on GitHub. Evolve projects, propose new features, and discuss implementation details before changing your source code.

Make a change

Start a new feature or propose a change to existing code with a pull request—a base for your team to coordinate details and refine your changes.

Learn pull request fundementals

pull-request.png

See every update

Discuss code

comment-simple.png

Comments

On GitHub, conversations happen alongside your code. Leave detailed comments on code syntax and ask questions about structure inline.

review-request-2.png

Review requests

If you’re on the other side of the code, requesting peer reviews is easy. Add users to your pull request, and they’ll receive a notification letting them know you need their feedback.

reviews.png

Reviews

Save your teammates a few notifications. Bundle your comments into one cohesive review, then specify whether comments are required changes or just suggestions.

Resolve simple conflicts

You can’t always avoid conflict. Merge pull requests faster by resolving simple merge conflicts on GitHub—no command line necessary.

conflict.png

Learn how to resolve merge conflicts on GitHub and using the command line.

Merge the highest quality code

Reviews can improve your code, but mistakes happen. Limit human error and ensure only high quality code gets merged with detailed permissions and status checks.

Permissions

Give collaborators as much access as they need through your repository settings. You can extend access to a few teams and select which ones can read or write to your files. The options you have for permissions depend on your plan.

See plan options

Protected branches

Protected Branches help you maintain the integrity of your code. Limit who can push to a branch, and disable force pushes to specific branches. Then scale your policies with the Protected Branches API.

Required status checks

Create required status checks to add an extra layer of error prevention on branches. Use the Status API to enforce checks and disable the merge button until they pass. To err is human; to automate, divine!

Bulletproof your review process

Build on GitHub with review tools to avoid human error and add extra polish to your team’s code with review tools.

Codecov

Group, merge, archive and compare coverage reports

Codacy

Automated code reviews to help developers ship better software, faster

Coveralls

Ensure that new code is fully covered, and see coverage trends emerge

CodeFactor

Automated Code Review for GitHub

Get started

The basics for individuals
and organizations

$ 0 per year forever

Advanced collaboration for
individuals and organizations

$ 48 $ 44 per user/year for the first 12 months*

Continue with Team

* Discounted pricing is for new yearly customers paying with credit cards or PayPal. After first year, price is subject to change. GitHub will send you a notification email at least 30 days in advance of any price change.

Enterprise

Security, compliance,
and flexible deployment

$ 252 $ 231 per user/year for the first 12 months*

* Discounted pricing is for new yearly customers paying with credit cards or PayPal. After first year, price is subject to change. GitHub will send you a notification email at least 30 days in advance of any price change.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK