我想为我的示例项目在本地向Git存储库提交一个文件
在本地提交文件的尝试失败
Divyanshu (master +) asteroids $ git commit -m "Fire one bullet at a time"
fatal: cannot lock ref 'HEAD': Unable to create 'C:/Users/Divyanshu/Desktop/dktop/focus/
Udacity/Git-hub/version-control/repositories/asteroids/.git/refs/heads/master.lock':
File exists.
Another git process seems to be running in this repository, e.g. an editor opened by 'git
commit'. Please make sure all processes are terminated then try again. If it still fails,
a git process may have crashed in this repository earlier: remove the file manually to
continue.发布于 2017-03-07 15:13:21
遵循以下步骤:
C:/Users/Divyanshu/Desktop/dktop/focus/Udacity/Git-hub/version-control/repositories/asteroids/.git/refs/heads/master.lockmaster.lock的文件那你就再来一次吧!
https://stackoverflow.com/questions/42651753
复制相似问题