@willfelix/pushit
v1.0.5
Published
The pushit command is a shortcut to git commands
Downloads
9
Maintainers
Readme
Pushit
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]"
Prerequisites
- Unix-based operating system (OS X or Linux)
git
should be installednpm
Installing
Pushit is installed using npm command.
npm install -g @willfelix/pushit
Usage
pushit|pit [options] [value]
Options:
-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).
Flags:
-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.
Commands:
redmine: redmine config: This flag will initialize the Redmine config token. gitlab: gitlab config: [[ working in progress ]]. github: github config: [[ working in progress ]].
Example
$ pushit -n 1532 -m 'Adjustments to the search method in productDAO'
$ pit -v