尝试运行“git Push”时不断收到此错误:
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
我已经完成了这个过程,但后来我得到了另一个错误:
fatal: 'angrails-front' 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.
不知道现在该做什么...
最佳答案
首先尝试克隆存储库:如果成功,将来的提取也会成功。
之后修改文件,添加、提交、推送
cd /a/path
git clone https://github.com/Roeck/angrails-front
cd angrails-front
# modify a file
git add .
git commit -m "new commit"
git push
关于git - 无法将代码推送到 Github,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50958919/