Reputation: 363
I'm building a website with React using Atom, which is connected to my GitHub account. Both the project name on GitHub and the local project folder name are the same "symbol-neural-network":
How do I can correctly rename both the project name on both GitHub and Atom (project folder) so that they stay syncronized and Atom recognizes it's the same project?
I thought of just renaming the project on GitHub, but I don't want to risk it. Also I believe I originally created the project first on Atom locally and then pushed it as a new repository to GitHub.
Thank you!
Upvotes: 0
Views: 634
Reputation: 4484
The GitHub documentation on renaming a repository is clear how to do things. Generally, you can simply rename your repo to whatever you want and you can also update your remote on the local machine. Nothing will be lost. Your local machine will still track your remote.
As for the project folder, just rename that as well to whatever you want. Git does not care what the folder it is and how it's called.
This is a good answer that explains how to do it and what the different steps are.
Upvotes: 1