The Wayback Machine - https://web.archive.org/web/20190113033249/https://blog.github.com/

View multi-file diffs with commit preview

In the latest GitHub for Atom release, we’re introducing two new features that will improve your commit experience.

Rendering diffs in the editor

Previously, DOM elements were rendered for every line of each diff, which meant a lot of work for React and the DOM to process. This led to rendered diffs being limited to less than 32k bytes, resulting in the inability to load large or multiple diffs.

Now diffs are rendered using Atom’s TextBuffer. The text buffer’s most important benefits are improved performance when loading large diffs and the ability to render multiple diffs. A few other perks include keyboard bindings to use Atom shortcuts with the ability to navigate around diffs, as well as copy and pasting code from a diff.

diff-in-textbuffer

Rendering diffs with TextBuffer makes it easier to review and edit code from within a diff view whether you’re making changes now or in the future. TextBuffer provides options, such as:

  • Editable diffs: the ability to change text within the diff view
  • Code folding: collapsing and expanding blocks of code
  • Syntax highlighting: highlighting different “parts of speech” of code using different colors
  • Multi-cursor edits: the ability to change text within the diff view in multiple places at once

Commit preview

Now you can use the option to “See All Staged Changes” before you commit, opening diffs of all staged changes in one pane. Seeing all changes at once makes it easier to double-check your work and write a meaningful commit message about your changes. Commit preview uses the new and improved diff rendering to render multi-file diffs.

While building out this feature, user research sessions gave us informed data to make (and finalize) changes to the design, color, and text of the button. This feedback helped us feel confident that the updates created a more intuitive workflow and led to a more polished diff view with a cleaner look.

commit-preview-gif

What’s next for GitHub for Atom

User experience is important. Our goal is to make it easy to write, review, and collaborate on code within Atom. We have plenty of updates in store, but look out for upcoming improvements to pull request reviews.

If you have feedback about what we’ve worked on—or ideas for what you’d like to see in the pull request workflow—reach out to us in the Atom repository. We’re always looking for participants for our ongoing usability studies.

Sign up to help us improve GitHub for Atom

Star topics that interest you

While you’re heads down contributing to your favorite repositories, GitHub is busy finding projects and people that share your interests. That way, when you decide to come up for air, you can easily glance at what the world’s largest software community has to offer.

GitHub already collects repositories for you based on projects you contribute to, star, and visit. To go deeper, we recently attached a simple “Star” button to every GitHub Topic. This offers you the option to plainly indicate which topics matter most, so we can fetch the code and developers that share your interests.

With this release, you’ll see your starred topics displayed on GitHub Explore, along with a fresh set of related repositories. The topics you star will also be displayed alongside your starred repositories in your profile’s “Stars” tab.

Starred topics displayed on the GitHub Explore page

You can star a topic nearly anywhere you encounter one, including search results, individual topic pages, and the Explore, Topics, and Stars pages on GitHub.

Starring topics is a straightforward way for you to tell us what you want to see, so we can help keep you organized and connected to the stuff you care about most. Now we can start displaying more types of content within each topic, like related developers and events. And as you begin to tell us about which topics you’re interested in, we can start looking for patterns that’ll help us surface even more cool ideas for you.

Topics have been a community-driven GitHub feature since they were released two years ago. So far, developers have created more than 400,000 topics to build subject-based relationships between repositories. And the GitHub community started curating the descriptions, related links, and images for topics last fall.

Starting today, topics are related to you—not just your repositories. Needless to say, we’re thrilled to see what kind of GitHub gold we can help you discover.

New year, new GitHub: Announcing unlimited free private repos and unified Enterprise offering

  • Jan 07, 2019
  • nat nat
  • Announcements

GitHub announces unlimited private repos

Today we’re announcing two major updates to make GitHub more accessible to developers: unlimited free private repositories, and a simpler, unified Enterprise offering. We’re excited about these updates to our Free and Enterprise offerings:

  • GitHub Free now includes unlimited private repositories. For the first time, developers can use GitHub for their private projects with up to three collaborators per repository for free. Many developers want to use private repos to apply for a job, work on a side project, or try something out in private before releasing it publicly. Starting today, those scenarios, and many more, are possible on GitHub at no cost. Public repositories are still free (of course—no changes there) and include unlimited collaborators.

  • GitHub Enterprise is the new unified product for Enterprise Cloud (formerly GitHub Business Cloud) and Enterprise Server (formerly GitHub Enterprise). Organizations that want the flexibility to use GitHub in a cloud or self-hosted configuration can now access both at one per-seat price. And with GitHub Connect, these products can be securely linked, providing a hybrid option so developers can work seamlessly across both environments.

Learn more

GitHub Pro (formerly GitHub Developer) and GitHub Team are also available for developers and teams who need professional coding and collaboration features. And of course, open source contributors will still have everything they need to collaborate on public repositories, including our free version of GitHub Team.

Whether you’re a student about to write your first line of code, an enterprise leader with teams around the world, or an open source maintainer, we want GitHub to be the best place for you to code, collaborate, and connect with the global community of developers. Today’s changes are a big investment in the future of GitHub, and we’re excited to see what you build in 2019.

VS Code: Now creating pull requests

The GitHub Pull Requests extension in VS Code allows you to manage your pull requests directly from your IDE. Over the past months the team has added even more enhancements to pull request functionality. Using the latest version, you can now create pull requests, leave suggested edits as a comment, and view status checks for each pull request.

Create pull requests

To create pull requests in VS Code, hover over the GitHub Pull Requests title and click the + sign. Choose the target branch for the pull request, press enter, and relax—you’ve opened your pull request.

create pull request vscode 2

Suggested edits

Provide suggested code edits and leave them as comments with a diff that shows the current code alongside your suggested changes. The suggestions can easily be applied by selecting Apply Patch to commit the new patch of code.

apply patch

You also have the option to stage all suggested changes when changes have not yet been staged.

stage changes

Display status checks

Once you create a pull request, status checks will appear in the description. You can now view the progress of each check that was integrated: passing, failing, and in-progress.

status checks in pr

Give the latest extension a try

Visit the VS Code Pull Requests Repository to view release notes and download the latest release package. Don’t forget, you can always install or update the latest version directly from inside of VS Code.

Highlights for Game Off 2018

Game Off just wrapped up with over 300 games submitted making it our largest event yet! This year’s theme–HYBRID–proved to be both fun and challenging.

Here are the winners as voted on by the game developers themselves. You can also view all of the entries’ ratings on itch.io.

Overall Winner: Singularity

Singularity puts you in control of a robot exploring the planet, where economy and industry have collapsed and humans are facing extinction. The code deep within your neural network urges you forward, but your robotic parts are easily damaged. Destroy and hybridize parts of other robots to repair yourself. The creators Kendall Breivogel, Sean Collins, Alexander Runnels, and Alexandre Thorp want you to try to become the ultimate AI—do you accept this challenge?

► Play (Windows, Linux) · View source (Unreal Engine, C++)

Best Gameplay - MIX UP

MIX UP is a colorful and polished match three puzzle game from @guoboism. If you liked the challenge of 2048, you’ll love this!

► Play (Web, Windows, macOS) · View source (Unity, C#)

Best Graphics - Fire of Kala

Defend your base against the enemy horde in Fire of Kala—a beautiful, unique hybrid platform and tower defense game.

► Play (Web) · View source (Unity, C#)

Best Audio - Home

Home is a delightful game from @sharpfives, where you have to help your hybrid hero find a way off of an abandoned planet. What adventures await your hero? There’s only one way to find out!

► Play (Web) · View source (Phaser, JavaScript)

Innovation - Lens

Point, click, and drag your way to victory in Lens—a unique Window manager meets physics puzzle game from @notexplosive. You’re sure to have a nostalgic time playing this one.

► Play (Windows) · View source (Lua)

Theme Interpretation - Blow the Shark Down

Hybridizing both game characters and genres, Blow the Shark Down is a remarkable turn-based combat game featuring hilariously animated Sharkmen. This gang of beasts will entertain parties of up to four!

Note: At least two controllers required 🎮 🎮

Controls: - move · A - hook · B - cross punch · Y - headbutt · X - uppercut · RB - block · BACK - taunt

► Play (Windows) · View source (Unity, C#)

Staff picks

While we can’t list all 330 games, here are a few that kept us entertained.

Editor’s note: Lee actually did try to list all 330 games with screenshots and videos in this blog post!

D-Tac

D-tac is a prototype for a Doom, turn-based tactics game that allows you to load Doom-compatible .wad files. Think Doom meets X-COM in your browser (while using a .wad from Freedoom).

► Play (Web) · View source (three.js, JavaScript)

Did you know? Doom just celebrated its 25th anniversary! Get lost in the original Doom source code, a Doom renderer written in Rust, a handy little Doom editor, or a roguelike version. You also finally have an excuse to play with machine learning and train some bots to play better than you with Arnold or ViZDoom :godmode:

GRIMCURSE

GRIMCURSE is a fast-paced gallery shooter and top-down RPG hybrid. Think Duck Hunt + Pokemon + Time Crisis…hard to imagine? Give it a go and see for yourself.

► Play (Web, Windows, macOS) · View source (Construct)

Three Course Meal

Three Course Meal is a cooking-based rhythm game that will get you in the mood for some festive cooking, baking, and eating.

► Play (Windows) · View source (GameMaker)

Jack of Spades

What happens when you cross an RPG and a card game? Jack of Spades!

► Play (Web) · View source (PICO-8, Lua)

Monster Pong

Monster Pong is a Pong / Breakout hybrid with monsters. Defeat them, steal their body parts, and win the game—it’s that easy.

► Play (Web) · View source (JavaScript)

Machinaria

Manipulate public opinion with Machinaria, a game where you can collect and organize news material to favor one of the candiates in the presidential election.

► Play (Web, Windows, macOS, Linux) · View source (Godot, GDScript)

Lettris

Lettris from @bamsarker is Tetris with letters. Make WORDS and score POINTS!

► Play (Web) · View source (Phaser, JavaScript)

Ouro

Ouro is local multiplayer game combining elements of Pong and Snake. Can you get a high score? Try it out with this classic.

► Play (Web) · View source (Phaser, JavaScript)

Blank Bit

Jump, dash, boost, and erase your way to victory in @pfail’s Blank Bit—a very challenging, but very fun game combining elements of a card and platform game.

► Play (Web) · View source (Unity, C#)

Until next year!

There are lots more to play. Over 300 to be exact! Check them all out on itch.io and let us know your favorites! Share your screenshots, highscores, faux pas, and everything in-between with #GitHubGameOff!

Game Off will be back in 2019! Thank you again, everyone who participated. Thanks for playing. And thanks to itch.io for providing a great platform for indie game developers and jammers! Happy holidays <3

Newer

Changelog

Subscribe

Discover new ways to build better

Try Marketplace apps free for 14 days

Learn more