Quick Pull Requests

Starting conversations around changes is what pull requests and GitHub Flow are all about, so we’re excited to introduce a powerful shortcut that gets you there even faster.

When using your browser to edit a file on GitHub.com, the web-based commit composer lets you quickly propose a change to a new branch and then immediately open a pull request for discussion and review:

Selecting the new branch option to open a quick pull request

Reducing the time it takes to open a pull request lowers the contribution barrier, and having this workflow available entirely within the browser makes collaboration more approachable for people with all technical skill levels.

To learn how GitHub Flow works, and whether it might be a good workflow to use on your projects, check out our guide on Understanding GitHub Flow.

Partial commits in GitHub for Windows

Ever found yourself in a situation where your working directory contains a mix of changes that don't quite fit together? It would be easy to commit it all at once and move on; however, small, focused commits are great for making it easy to review and discuss a branch of work - especially when working on a complex codebase.

But how can you choose which changes to use in a commit?

The newest release of GitHub for Windows supports selecting lines or blocks of changes when creating a commit. Simply click the desired lines in the gutter, create the commit, and leave the other changes for you to continue working on.

Create a partial commit

For people familiar with the command line, this change is similar to interactive staging using git add -i or git add -p.

Mobile Search

Whether you're reviewing project issues from your phone while traveling for business, or trying to find a specific Node.js repository to show a friend at lunch, we want the GitHub.com mobile experience to serve you well.

That's why we've enabled search on mobile devices, making it easier for you to find repositories, developers, and issues all from the palm of your hand using GitHub's powerful search syntax.

mobile-search

Happy searching!

Syntax Highlighted Diffs

Unified and split diffs now feature syntax highlighting, which adds colors to your code to make its meaning and structure clearer. Now you can more easily understand the code that was changed in a commit, pull request, or review comment.

A diff with and without syntax highlighting

See it in action at dotnet/corefx or your favorite repository.

See results from all pull request status checks

Since we introduced the Status API, you've been able to improve the quality of your code by including the status of a pull request within the conversation timeline, for every push. Before today, you've only been able to see results from one service. Now you can see all your results at once, from multiple CI systems that test your code against different platforms to simultaneous security testing and code coverage analysis.

screenshot of status area with a few statuses

You can also see how the status of a pull request has changed over its history by clicking the icons listed next to individual commits.

screenshot of a commit with multiple statuses

If you're interested in how to set up your own statuses, take a look at our Status API docs along with this guide to building your own CI service. You can also check out some the services that use the Status API to help you keep your code clean, confirm your tests are passing, and make sure contributors have agreed to your CLA.

Introducing organization webhooks

Webhooks are now available at the organization level on GitHub.com. Organization webhooks send events for all repositories in an organization. They also include new events for repository creation, team membership, and more.

org hooks

If you're extending GitHub into your internal systems, organization webhooks save you time by helping you configure integrations across multiple repositories in one place. The addition of organizational-level events, like team membership, open up new possibilties for integrators building applications that work with GitHub.

For all the details, check out our updated webhook developer guide.

Delete merged branches from your phone

After we introduced the merge button on mobile, we heard from many of you that you'd love to be able to delete merged branches on your phone too. Now you can!

screenshot

Happy branching!

Linking merged pull requests from commits

We've been including the containing branches and tags on commit pages to give you more context around changes. Now, commits in a repository's default branch will also show you the pull request that introduced them.

no touching

In the pull request, you can see the discussion around why the commit was introduced, and get a clearer picture of the reason for the change.

As always, if you know the commit SHA, you can skip the commit page and search for the pull request directly.

For more information, check out our Help docs.

The best developer tools, now free for students

There's no substitute for hands-on experience, but for most students, real world tools can be cost prohibitive. That's why we created the GitHub Student Developer Pack with some of our partners and friends: to give students free access to the best developer tools in one place so they can learn by doing.

GitHub Student Developer Pack Logo

More than 100,000 students have already taken advantage of free access to GitHub, collectively pushing code more than 50,000 times per day. With the GitHub Student Developer Pack, students now have free access to an entire suite of useful developer tools, including:

Atomatom.io
A hackable text editor for the 21st Century
Open Source by GitHub, free for everyone

Bitnamibitnami.com
Install cloud applications in a single click
Business 3 plan (normally $49/month) for one year

Crowdflowercrowdflower.com
Crowdsourcing and data enrichment platform
Access to the Crowdflower platform (normally $2,500/month) and $50 in worker credit

DigitalOceandigitalocean.com
Simple cloud hosting, built for developers
$100 in platform credit for new users

DNSimplednsimple.com
Simple DNS management with one-click services and a robust API
Bronze hosted DNS plan (normally $3/month) for two years

GitHubgithub.com
Powerful collaboration, code review, and code management
Micro account (normally $7/month) with five private repositories while you're a student

HackHandshackhands.com
Live programming help available 24/7
$25 in platform credit

Namecheapnamecheap.com
Domain name registration and SSL certificates
One year free domain name registration on the .me TLD (normally 8.99/year) and one year free SSL certificate (normally $9/year)

Orchestrateorchestrate.io
Database API that includes search, time-series events, geolocation and graph queries
Developer account (normally $49/month) while you're a student

Screenheroscreenhero.com
Screen sharing for collaboration in teams
Individual account (normally $9.99/month) while you're a student

SendGridsendgrid.com
Email infrastructure as a service
Student plan (normally $4.95/month) for one year

Stripestripe.com
Web and mobile payments, built for developers
Waived transaction fees on first $1,000 in revenue processed

Travis CItravis-ci.com
Continuous integration platform for open source and private projects
Private builds (normally $69/month) while you're a student

Unreal Engineunrealengine.com
A complete suite of game development tools made by game developers, for game developers
Unreal Engine (normally $19/month) while you're a student

Get your pack

If you're a student aged 13+ and enrolled in degree or diploma granting course of study, the GitHub Student Developer Pack is for you. All you need is a one of the following:

  • School-issued email address
  • Valid student identification card
  • Other official proof of enrollment (enrollment letter, transcript, etc)

Get your GitHub Student Developer Pack

If you're already using GitHub with a student account, you've automatically been given access to the developer pack. You can access all the offers at https://education.github.com/pack.

Join the pack

If your company produces developer tools and wants to be included in the pack, pass us a note.

SVG Viewing & Diffing

In the spirit of making diffs of rich information easier to parse, SVG images are now viewable and diffable on GitHub!

SVG diff demo

As always, you can find more details in our help documentation.

Managing Issues and Pull Requests Across Repositories

Keep track of all of your issues and pull requests with the new Issues Dashboard and the new Pull Requests Dashboard.

Dashboards

When we rebuilt GitHub Issues earlier this summer, we made it easier to search and filter issues and pull requests in a repository. Now it's time to think bigger: these new dashboards let you manage your work across all of your repositories at once. You can find links to them at the top of your News Feed.

Use them to quickly find issues you've created. Or pull requests that mention your username. Or issues that have been assigned to you. Or go ahead and use any of our custom advanced search filters and create your own often-used search... the sky's the limit.

View Issue/Pull Request buttons for Gmail

If you're a Gmail user who gets GitHub notifications via email, you'll notice that we've added subject-line links to issues and pull requests on notification messages.

View Issue/Pull Request buttons

You can use these links to more quickly access content on GitHub -- all without having to open your email notifications.

This feature is brought to you using Gmail's Actions in the Inbox.

Better Word Highlighting in Diffs

Commits, compare views, and pull requests now highlight individual changed words instead of the entire changed section, making it easier for you to see exactly what’s been added or removed.

Old and new highlighting behaviors

And, of course, it works great with split diffs, too:

New highlighting in split diff

Introducing split diffs

Split diff example

Diffs now come in two flavors, unified and split. Switch between them on pull request, commit, and compare pages using the toggle in the top right of the page. The mode you last used will become your preferred default.

:metal:

Improved Audit Log

We've just released some major improvements to our organization audit logs. As an organization admin, you can now see a running list of events as they're generated across your organization, or you can search for specific activities performed by the members of your org. This data provides you with better security insights and gives you the ability to audit account, team, and repository access over time.

Audit Log

The audit log exposes a number of events like repository deletes, billing updates, new member invites, and team creation. You can see the activities of individual team members, along with a map that highlights the location where events originated. Using the new query interface, you can then filter all these events by the action performed, the team member responsible, the date, repository, and location.

Example Query

For more information on the audit log, check out the documentation.