同步代码时出现问题,
$ git pull --rebase origin
First, rewinding head to replay your work on top of it...
fatal: Unable to create 'F:/code/Demo/.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.
could not detach HEAD
解决方法:
rm -rf ./.git/index.lock