在本地重命名文件夹后如何将项目推送到 github



我正在学习 Git。我在本地重命名了一个文件夹,现在无法将项目推送到 GitHub。当我推送它时,它显示了此消息。

push -u origin master
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

谢谢你的帮助。

它的git push -u origin master.
从理论上讲,git 与文件夹名称无关。它跟踪了整个内容。

最新更新