Answer the question
In order to leave comments, you need to log in
How to fix "cannot lock ref 'HEAD': unable to resolve reference 'refs/heads/master': reference broken" error?
Good day!
Git connected to the project.
During the file push, the light was turned off. After turning on the light, when trying to commit and push changes, the error "TODO check has skipped one file. No new or edited TODO items, or items located in changed text fragments were found."
If you ignore this message, then when you try to push, an error occurs "Commit failed with error 0 file committed, 1 file failed to commit: 1 cannot lock ref 'HEAD': unable to resolve reference 'refs/heads/master': reference broken
" 'refs/heads/master' with the following content:
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 00
Answer the question
In order to leave comments, you need to log in
Are you using a Jetbrains product to commit?
This is not an error, just an informational message. You can ignore it, or you can uncheck the checkbox in the commit window Check TODO
and it will not appear at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question