Search code examples
gitegitgit-remote

git/EGit loses remote configuration


EGit loses remote configuration.

I have such Remotes configuration (2 remotes):

1st

But in the morning I get again (origin point to /PaulVI):

2nd

git remote output:

C:\Users\weibl\Documents\GitHub\nodeclipse-2 [master]> git remote -v
PaulVI  https://github.com/PaulVI/nodeclipse-2.git (fetch)
PaulVI  https://github.com/PaulVI/nodeclipse-2.git (push)
origin  https://github.com/PaulVI/nodeclipse-2.git (fetch)
origin  https://github.com/PaulVI/nodeclipse-2.git (push)

Solution

  • The cause is GitHub for Windows.

    On start-up it updates origin's value for repositories in ~\Documents\GitHub.

    enter image description here