No such tree SHA1 was found

TweetTheGit

Every time you commit something, this script sends the commit message to twitter.
It executes after your commit takes place therefore it shouldn’t slow it down :)

Depends on git and curl, you might need to install curl but git should be there
already.

Step 1:
Copy post-commit to your .git/hooks directory and make it executable:

$ chmod +x .git/hooks/post-commit

Step 2:
Modify post-commit with your twitter credentials and project name you should be ok.

Step 3:
There is no step 3 :-p