TransportException with Eclipse and EGit
Students in my introductory programming class were getting TransportException
s when trying to pull from a remote Git repository with the EGit plugin in Eclipse. The issue was a missing line in their .git/config
. The file should have looked like this:
... [remote "origin"] ... fetch = +refs/heads/*:refs/remotes/origin/*
The definition of fetch
was absent.
I think the students might have failed to check Configure Fetch when they added the remote, but I can’t be sure.