Git仓库快捷push
npm init
生成 package.json
文件
package.json文件{
"name": "xiaodongxier_git",
"version": "1.0.0",
"description": "小东西儿gitcdn管理仓库",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"push": "git add . && git commit -m '快捷push' && git push"
},
"author": "xiaodongxier",
"license": "ISC"
}