在我的package.json
我有这个
"scripts": {
"start": "gulp serve",
"git": "git add . && git commit -m 'some-message' && git push --all"
},
在我运行的终端中npm run git
,更改被推送。但是我怎样才能即时更改提交消息呢?例如npm run git MESSAGE='another commit'
在我的package.json
我有这个
"scripts": {
"start": "gulp serve",
"git": "git add . && git commit -m 'some-message' && git push --all"
},
在我运行的终端中npm run git
,更改被推送。但是我怎样才能即时更改提交消息呢?例如npm run git MESSAGE='another commit'