Skip to content

Very simple bash script to add "git push" as the post commit hook in a Git repo.

Notifications You must be signed in to change notification settings

cwerner1/git-autopush

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

git-autopush
============

Very simple bash script to add an auto-push post commit hook in the current Git
repo.  After running this script, all committed changes to the repo will be
immediately pushed to the configured remote/branch.


Accepts a remote repo name as parameter if you would like to push to another
repo.

OPTIONS:
 -o Overwrite any existing post commit hook
 -r [repo] Remote repo to push to
 -a Pushes all branches

About

Very simple bash script to add "git push" as the post commit hook in a Git repo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%