1
我正在學習Git。我在本地重命名了一個文件夾,現在無法將項目推送到GitHub。它在我推送時顯示此消息。如何在本地重命名文件夾後將項目推送到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 mv'還是隻使用普通的'mv'命令 –
這聽起來像你的配置搞砸了,而不是重命名文件夾是罪魁禍首。 –
@BasileStarynkevitch無論如何,我不會指望這個錯誤。 –