The pushit command is a shortcut for the git commands and some extras features like redmine integration.
Its the junction of "git add -A && git commit -m [message] && git pull origin [branch] && git push origin [branch]"
- Unix-based operating system (OS X or Linux)
git
should be installednpm
Pushit is installed using npm command.
npm install -g @willfelix/pushit
pushit|pit [options] [value]
-m: This option is preceded by the commit message.
-n: Redmine CR number.
-b: git checkout. If this option does not be called, the current branch will be used.
-q: Close the issue specified by the CR number (Redmine).
-h: Show this help message and quit
-v: Pushit's version
-p: git pull: Fetch from and integrate with another repository or a local branch.
-s: git status: The same as git status.
redmine: redmine config: This flag will initialize the Redmine config token.
gitlab: gitlab config: [[ working in progress ]].
github: github config: [[ working in progress ]].
$ pushit -n 1532 -m 'Adjustments to the search method in productDAO'
$ pit -v