While migrating a large codebase from Subversion to Git recently I ran across the following error during the initial push from my development system to the new remote repository:

Read from remote host <…>: Operation timed out
error: pack-objects died of signal 13
error: failed to push some refs to ‘ssh://<…>’

Rerunning “git push” with the “–no-thin” parameter fixed the issue for me. Hope this saves someone else a headache!

It’s useful to (a) exclude the vendor directory from normal TextMate projects, but (b) still be able to pull up the Rails source under vendor/rails from time to time. If you simply add vendor to the TextMate Folder Pattern, you’ll get (a) but not (b). To get both, add vendor$.

Here are the patterns I use:

File Pattern: !(public/(favicon.ico|apple-touch-icon*\.png)|\.(|log|pid|sql)$)

Folder Pattern: !(\.git|\.svn|db/sphinx|public/(data|flash|images|pdf|audio|video)|tmp|vendor$)