【文件属性】:
文件名称:gh-commit:将新文件提交到Github的最快方法
文件大小:4KB
文件格式:ZIP
更新时间:2021-02-04 07:14:25
github github-api axios commit GitHubAPIJavaScript
gh提交
将新文件提交到Github的最快方法
安装
npm install gh-commit --save
用法
const git = require ( 'gh-commit' ) ;
git . config . repo = {
author : 'github username or organization name' ,
name : 'name-of-repository'
} ;
git . config . auth = {
username : 'github username' ,
password : 'github password or acc
【文件预览】:
gh-commit-master
----.travis.yml(117B)
----package.json(844B)
----test()
--------tests.js(3KB)
--------mocha.opts(15B)
----src()
--------index.js(1KB)
----LICENSE.md(1KB)
----.gitignore(34B)
----README.md(1KB)