I have worked on a git LFS via bitbucket for a while with no problem. I was working on my own but recently a trainee has joined me and we do not manage to push files from his machines.
We have been able to clone the repo on his machine (including the large files), make a few local commits with no problem. Though when it comes to pushing we have an authentication problem that says
Authentication required: Authorization error: https://bitbucket... ... Check that you have proper access to the repository
The problem is shown in the image below:
Note that my trainee has write access rights to the repo (in bitbucket).
Any idea of what's going on?
This is a known issue: https://jira.atlassian.com/browse/BSERV-9623
Jade Skaggs suggests in one of the comments to execute
git config 'lfs.locksverify' false
for any affected repo.
This works for me. It may have unwanted side effects, though.
EDIT:
It should be noted that the warning about the authentication and authorization is just that: a warning.
You can choose to ignore it. The push does succeed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With