I followed the tutorial http://wiki.eclipse.org/EGit/User_Guide#GitHub_Tutorial to setup EGit with GitHub. When I want to pull I had the same problem described here: The current branch is not configured for pull No value for key branch.master.merge found in configuration
When I add the following to .git/config
[branch "master"]
remote = origin
merge = refs/heads/master
I get another error:
The current branch is not configured for pull No value for key remote.origin.url found in configuration
How can I fix this?