Git push failed: OSError: remote: error: cannot lock ref 'refs/heads/main

Hi there!
I was attempting to move some files from one repository to another and I ran into an error [Git push failed: OSError: remote: error: cannot lock ref 'refs/heads/main]. The push was denied a couple of times for different repositories, and I’ve been experiencing this issue on and off since morning. :frowning:

In order to resolve this locally, I used the following commands (as suggested by Lucio)-

  1. cd <Enter/the/path/to/the/slave/repo>
  2. !git commit -m “merge”
  3. !git push

And it worked!

However, I believe the issue still exists at HF Spaces’ level, because the push was denied a couple of times, and for different repositories. :slightly_frowning_face:

Please help in fixing this ASAP. Thanks.