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

时间:2017-07-05 03:26:12

标签: git github git-push

我正在学习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.

感谢您的帮助。

1 个答案:

答案 0 :(得分:0)

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