fatal: unable to create 'refs/heads/master.lock': File exists
Reported by Gaius Centus Novus | June 22nd, 2008 @ 02:50 PM
I am trying to push to a repository, but I get the following:
~/Projects/grammar/$ git pull origin master
Already up-to-date.
~/Projects/grammar/$ git push origin master
Counting objects: 7, done.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 1.53 KiB, done.
Total 4 (delta 2), reused 0 (delta 0)
fatal: unable to create 'refs/heads/master.lock': File exists
fatal: The remote end hung up unexpectedly
Comments and changes to this ticket
-
defunkt June 24th, 2008 @ 02:58 PM
- → Assigned user changed from to defunkt
Sounds like you cancelled a push midway through at some point. Please tell us the name of the project.
In the future, please always provide as much information as possible so we can fix the issue immediately. Thanks!
-
Dr Nic June 28th, 2008 @ 07:43 AM
- → Tag changed from to bug
I managed to do this to my project "iphoneruby".
Is it something I can clean up locally? Or is the lock on the server?
-
arilerner (at mac) June 28th, 2008 @ 06:00 PM
I also got this problem.
Can you please "unlock" my git repos too?
It's at http://github.com/auser/pool-par...
pool-party
-
-
-
Dr Nic June 28th, 2008 @ 06:37 PM
You'll lose your github data - wiki, watchers etc but your git history is in your repo, so when you recreate the project and do a "git push origin master" your new github project has all the history.
This solution worked for me since it was a very new project and had no watchers etc.
-
arilerner (at mac) June 28th, 2008 @ 06:45 PM
I don't particularly want to lose all my watchers however...
If there is no other solution, however...
Hear back from the guys at github at all?
Ari
On Jun 28, 2008, at 5:37 PM, Lighthouse wrote:
-
Dr Nic June 28th, 2008 @ 06:46 PM
I'm sure its fixable on github repo side; I was just impatient and had nothing to lose from recreating github project.
-
defunkt June 29th, 2008 @ 02:18 PM
- → State changed from new to resolved
Closing this out as arilerner's issue is in #600 and Dr Nic fixed his.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
