Created
September 18, 2012 16:07
-
-
Save danheberden/3743971 to your computer and use it in GitHub Desktop.
Gith: File:add to repo example
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 gith = require( 'gith' ).create( 9001 ); | |
gith({ | |
repo: 'danheberden/gith' | |
}).on( 'file:add', function( payload ) { | |
console.log( 'these files were added', payload.files.added ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment