我正在尝试学习如何使用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.
当然,我确实遇到了问题,试图更早地提交我的空项目,并且退出了git bash,因为我不知道如何摆脱我的困惑。
有什么办法可以解决此问题,还是应该只启动一个新的存储库?