troubleshooting

Git error - Error connecting to agent: No such file or directory

Another round of git related troubleshooting at work. Whilst setting up my new computer, I got the following error: Error connecting to agent: No such file or directory Learning from my previous Git troubles, I first ensured that my private key was loaded correctly in Plink, which it was. After some intense period of searching the Internet, I finally got a hint that it might be related to Git not using my intended SSH client.

Git error - Bad line length character

At work, I use a mix of Git for Windows, Atlassian’s Sourcetree, and Magit in Emacs. The latter is what I am trying to use fulltime, but old habits tend to stick around. For some reason, however, I would get the following error message when trying to pull/push/fetch from the origin remote: 128 git.exe … "fetch" "origin" fatal: protocol error: bad line length character: git@ When faced with this error, I always reverted to using Sourcetree, as that has been my previous main Git client.