av-git-operation:在nodeJs中执行git-operations

时间:2021-05-03 11:25:51
【文件属性】:
文件名称:av-git-operation:在nodeJs中执行git-operations
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-03 11:25:51
nodejs javascript git gitcommands JavaScript 这是什么? 在nodeJs中执行git-operations。 安装 npm i av-git-operation --save OR yarn add av-git-operation 用法 导入模块 const gitOperation = require ( "av-git-operation" ) ; 使用克隆一个回购 gitOperation . clone ( "YOUR HOST REPO URL" , "FOLDER PATH WHERE YOU WANT TO PUT REPO" , { checkout : "Your Branch Name" } , ( err ) => { if ( err ) { throw err ; } console . log ( "Cloning Done" ) ; } ) ;
【文件预览】:
av-git-operation-master
----README.md(2KB)
----.github()
--------workflows()
----package.json(712B)
----src()
--------git-config.js(815B)
--------git-commit.js(807B)
--------git-push.js(700B)
--------git-status.js(1KB)
--------utils.js(402B)
--------git-clone.js(1KB)
----index.js(351B)

网友评论