git-push-it
v2.8.0
Published
A git plugin for playing appropriate music while pushing code
Downloads
18
Readme
Git Push-It
This is a simple git plugin that plays appropriate music while pushing your code.
This plugin requires git > 1.8.2
and node.js > 4.0
.
This plugin currently only supports mac OSX.
HTTP/HTTPS Remotes
Using this plugin with a remote via http/https, requires you to login with username and password and use git's credential helper.
$ git config --global credential.helper cache
For more on credential caching with git, view the documentation.
Install or Update
To install, simply copy and paste the following into your terminal.
$ npm install git-push-it -g
Usage
Include arguments and flags
It passes arguments and flags to git push. If no remote and branch are specified, git-push-it defaults to remote origin and branch master.
$ git push-it #git push origin master
$ git push-it some-remote some-branch --some-flag
Declare which song to play
You can set which song to play with the --anthem
flag.
$ git push-it --anthem=limit
You can set the volume of the song
You can set the volume to play with the --volume
flag. The values are between 0 and 1. The default volume is 1, which is using the maximum media volume.
It accepts decimal values like 0.5 for 50% of the media volume.
$ git push-it --volume=0.5
List available songs
$ git push-it --list
Check version
$ git push-it --version