From 1336cf5278a10346816359955a9461728b55ad79 Mon Sep 17 00:00:00 2001 From: Mauro Junior Date: Fri, 5 May 2017 11:12:13 -0300 Subject: [PATCH] feat: config npm script `commit` to push only the current branch --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7951ce7..ec949d1 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "start": "npm run test", "precommit": "if-env IGNORE_GHOOKS=true || npm run test", "?commit": "Run a wizard to do a `git commit` following commitizen rules.", - "commit": "git add -A && git-cz && git push", + "commit": "git add -A && git-cz && git push origin HEAD", "pretest": "npm run build", "?test": "Build and run all tests.", "test": "npm run lint && nyc --check-coverage mocha --compilers js:babel-register ./test/*.js",