UNPKG
sharegit
Version:
latest (1.0.4)
1.0.4
1.0.2
1.0.1
1.0.0
Share project to remote git repo.
github.com/okunishinishi/node-sharegit
okunishinishi/node-sharegit
sharegit
/
example
/
example-sharegit.js
12 lines
(9 loc)
•
244 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
var
basedir = __dirname; process.
chdir
(basedir);
//Move to project root.
var
sharegit =
require
(
'sharegit'
);
// Create remote git tag named with package.json version. (eg. v1.0.0)
sharegit
({
// Options
},
function
(
err
) {
/*...*/
});