【发布时间】:2023-03-16 02:25:02
【问题描述】:
我一直在不知疲倦地尝试将文件从 Git 推送到 Github。 从不完整的加载过程到重复文件——我需要一些认真的帮助来解决这个问题。
以下是收到的错误信息:
$ git push origin master
error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/XXXX/REPOSITORYNAME.git'
还有……
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
最后……
$ git add .
fatal: Unable to create 'C:/Users/XXXXX/.git/index.lock': File exists.
【问题讨论】:
标签: github git-push git-add git