Skip to content

Instantly share code, notes, and snippets.

@jerone
Created July 25, 2015 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jerone/6adffc116fccd44b2610 to your computer and use it in GitHub Desktop.
Save jerone/6adffc116fccd44b2610 to your computer and use it in GitHub Desktop.
Atom get repo statusses snippet
var GitUtils = require('git-utils');
var repo = GitUtils.open(atom.project.getPaths()[0]);
console.log(repo.getStatus());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment