Tweet git commit messages, with every push to remote repository.
- URL you wish to tweet, when the code is pushed.
3: When npm prompts you for the URL of your repo, you have so input it. If you do not, Gitter will not work.
mv gitter.js .git/hooks/pre-push Or, manually change the name of gitter.js to pre-push and copy it to
- A. It is also important to note that it should **not** have a file extension.
5: Change the apply the appropriate keys and tokens to
chmod u+x .git/hooks/pre-push to make is executable.
If each step was followed correctly, every
git push should now be accompanied by a tweet containing the most recent commit message and a URL.