bitbucket git无法锁定ref

时间:2018-01-09 23:02:46

标签: git bitbucket

似乎是我有一个噩梦,当我按

时,我一直收到这个错误
remote: error: cannot lock ref 'refs/heads/master': Unable to create '/data/c01/n01/p/vp0443/data/d-389/r-13803389/refs/heads/master.lock': File exists.
remote:
remote: If no other git process is currently running, this probably means a
remote: git process crashed in this repository earlier. Make sure no other git
remote: process is running and remove the file manually to continue.
To https://sam_roberts_@bitbucket.org/sam_roberts_/admitme.git
 ! [remote rejected] master -> master (failed to update ref)
error: failed to push some refs to 'https://sam_roberts_@bitbucket.org/sam_roberts_/admitme.git'

到目前为止,

我尝试过重置git 我已经按照本教程 Error on git push = ! [remote rejected] master -> master (pre-receive hook declined)

我也尝试过这个 Failed to lock refs/heads/master

任何想法??

1 个答案:

答案 0 :(得分:2)

回答这个问题,联系bitbucket,他们为我删除了锁文件:D