Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created August 9, 2011 04:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamc/1133387 to your computer and use it in GitHub Desktop.
Save grahamc/1133387 to your computer and use it in GitHub Desktop.
[11:53 PM] <+zaxis42> can anyone help me with a git problem? http://pastebin.com/vCJzsvp6
[11:57 PM] <itrebal> zaxis42: what do you interpret the problem to be?
[11:57 PM] <+zaxis42> unsure, I just got this error after doing a commit
[11:57 PM] <itrebal> zaxis42: have you read the complete error message?
[11:58 PM] <+zaxis42> well yes, I have been googling it for a long time now trying to find answers
[11:59 PM] <itrebal> zaxis42: please summarize the error for me
...
root@avenuenetwork:/srv/www/theavenuenetwork.com/public_html/dev# git status
# On branch v1.0.1
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: protected/controllers/AdminApiController.php
#
no changes added to commit (use "git add" and/or "git commit -a")
root@avenuenetwork:/srv/www/theavenuenetwork.com/public_html/dev# git commit -a -m 'fix'
fatal: Unable to create '/srv/www/theavenuenetwork.com/public_html/dev/.git/index.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
root@avenuenetwork:/srv/www/theavenuenetwork.com/public_html/dev#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment