Answer the question
In order to leave comments, you need to log in
Github, How to push files to remote repo if I changed local project folder name?
It was necessary to change the name of the local folder of the project with the initialized repository, after which he does not want to send changes to origin main. How to fix everything correctly, or even better, rename the name of the repository on Github?
I suspect that simply changing the name on the site in the settings will not help?
Answer the question
In order to leave comments, you need to log in
The name of the folder in which the repository is located does not affect git in any way.
It also has no effect on pushing changes to a remote repository.
Well, on the github (on the site) this is not fixed or configured in any way.
I'm sure you can open the console, navigate to the correct folder and do a git push.
The problem is most likely in the GUI for git, through which you want to push the changes.
So she remembered that there is a repository along a certain path. But now there is no repository in the old path.
You need to change the path to the repository in its settings in the github client.
Well, or delete and reconfigure this element, if this is not possible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question