我正在尝试学习如何使用Git,并创建了一个包含HTML,CSS和Javascript文件的小项目.我从我的基本空项目中创建了一个分支,然后对我的代码进行了一些更改.我尝试暂存更改,但我收到以下错误消息:
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.
Run Code Online (Sandbox Code Playgroud)
当然,我确实遇到了一些问题,试图提前提交我的空项目,然后退出git bash因为我不知道如何摆脱我以某种方式得到的地方.
有什么方法可以解决这个问题,还是我应该开始一个新的存储库?
git ×1