The Wayback Machine - https://web.archive.org/web/20210707081837/https://github.com/features/code-review/
Skip to content

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 fundamentals

See every update

Diffs

Preview changes in context with your code to see what is being proposed. Side-by-side Diffs highlight added, edited, and deleted code right next to the original file, so you can easily spot changes.

Learn how to compare branches with diffs

History

Browse commits, comments, and references related to your pull request in a timeline-style interface. Your pull request will also highlight what’s changed since you last checked.


Pro-tip: You can search your commit history by keyword, committer, organization, and more.

Blame

See what a file looked like before a particular change. With blame view, you can see how any portion of your file has evolved over time without viewing the file’s full history.


Pro-tip: Use git blame to trace the changes in a file.

Discuss code