Warning in git "reference broken"

Can someone tell me how to fix the following warning?

error: update_ref failed for ref ‘refs/remotes/origin/master’: cannot lock ref ‘refs/remotes/origin/master’: unable to resolve reference ‘refs/remotes/origin/master’: reference broken

thanks in advance

Hi,

well the easiest way is probably to just clone your repo again and copy the src/ folder from your broken working directory to the new one and push again. Otherwise you could maybe check out this stackoverflow post, which I found by googling your error message, or come to an OH.

If this does not help it might be good to know, when this error occours. Are you working in the VM and if yes: how do you turn it off?

best wishes
Lisa :smiley:

1 Like

Thanks. Cloning it again was the only thing that worked.