Created
July 25, 2015 15:40
-
-
Save jerone/6adffc116fccd44b2610 to your computer and use it in GitHub Desktop.
Atom get repo statusses snippet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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