Skip to content

skuttleman/git-push-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published