美文网首页
git 中 切换分支时 /.git/index.lock':

git 中 切换分支时 /.git/index.lock':

作者: msyrrr | 来源:发表于2019-06-13 16:41 被阅读0次

错误描述: 
fatal: Unable to create 'F:/project/xxx/.git/index.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.

会引发出问题
Your branch is behind 'remotes/origin/feature/xxx' by 9 commits, and can be fast-forwarded.

解决:删掉 .git 文件夹中的 index.lock

相关文章

  • git 中 切换分支时 /.git/index.lock':

    错误描述:fatal: Unable to create 'F:/project/xxx/.git/index.l...

  • 创建与合并分支

    查看分支:git branch 创建分支:git branch 切换分支:git checkout 创建+切换分支...

  • 【操作】git版本控制流入门命令FQ#1

    查看分支:git branch -a创建分支:git branch切换分支:git checkout创建+切换分支...

  • 分支

    新建分支git branch [分支名] 切换分支git checkout [分支名] 新建分支并切换到分支git...

  • git常用命令

    分支管理 git 切换分支 git 查看远程分支 git 查看本地分支 git 创建本地分支 git 删除本地分支...

  • 常用git命令

    创建分支 git branch testing切换分支 git checkout testing创建并切换git...

  • 关于Git使用笔记

    Git使用分支: 查看所有分支:git branch -a 创建分支:git branch de 切换分支:git...

  • git常用命令

    切换分支 git checkout //切换到branchname 分支 git checkout -b //...

  • Git命令结合

    查看分支git branch 切换分支git checkout [分支]

  • 创建 合并 分支

    查看分支:git branch 创建分支:git branch 切换分支:git checkout ...

网友评论

      本文标题:git 中 切换分支时 /.git/index.lock':

      本文链接:https://www.haomeiwen.com/subject/tvwsfctx.html