Git Product home page Git Product logo

pushit's Introduction

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

pushit's People

Contributors

willfelix avatar dependabot[bot] avatar

Stargazers

Renato Rodrigues avatar Gustavo Melo avatar

Watchers

James Cloos avatar  avatar Renato Rodrigues avatar

pushit's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.