Skip to content

Instantly share code, notes, and snippets.

View TheAdamBorek's full-sized avatar

Adam Borek TheAdamBorek

View GitHub Profile
@TheAdamBorek
TheAdamBorek / pre_push.md
Last active June 1, 2016 17:40
pre_push git hook which invokes synx script before every push

Instalation

To install this hook you have to create a pre_push file inside .git/hooks/ and paste there the script written below. Next you have to set execute permisions with following command:

$ chmod a+x pre_push

Don't forget to change the project name inside the script.