<分区>
几个小时后,我回到打开的一些代码,对代码进行了一些更改,然后推送了它。突然之间,我收到了这个错误:
sura@raitorial:~/workspace/conse (master) $ git push
Counting objects: 15, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 492 bytes | 0 bytes/s, done.
Total 6 (delta 5), reused 0 (delta 0)
remote: canceling statement due to conflict with recovery
remote: LINE 1: ...er"."date_joined" FROM "bb_repository" INNER JOIN "auth_user...
remote: ^
remote: DETAIL: User was holding a relation lock for too long.
remote:
To git@bitbucket.org:sureumar__/conse.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@bitbucket.org:sureumar__/conse.git'
sura@raitorial:~/workspace/conse (master) $
如何诊断此错误的原因?