I was using PyCharm with GitHub for some time. Then I had to rename the github project's name (from github.com/username/old-name
to github.com/username/new-name
). I had to do this because there was some issue with the previous name. Nothing else changed. Although I changed the name of the repo, I can succesfully push changes. I also noticed that when I type https://github.com/username/old-name
, github redirects me to https://github.com/username/new-name
.
Then my partner joined and added some new files. New files appear on Github, but PyCharm is unable to fetch and merge changes. In the Pull dialog it shows the url of the old-repo. And when I press 'OK' to pull new changes, it says that it cannot pull because:
"Your local changes to the following files would be overwritten by merge. Please, commit your changes or stash them before you can merge"
But I have commit changes to my local repo, already and the "following files" list is empty.
Does it relate to the name-change? If yes, what am I supposed to do now? If no, why PyCharm does not pull?