@willfelix/pushit

1.0.5 • Public • Published

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 installed
  • npm

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

Package Sidebar

Install

npm i @willfelix/pushit

Weekly Downloads

38

Version

1.0.5

License

MIT

Unpacked Size

11.8 kB

Total Files

10

Last publish

Collaborators

  • willfelix