Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

git lfs with SSH fails because of an https request

klausisbruch August 23, 2018

If I use the git cli from a bash window on windows7 with a bitbucket repo with SSH url, I get an authentication error from git lfs, although everything seems to work anyway.

This is how this looks like:

$ git push -u origin JAVA
WARNING: Authentication error: Authentication required: Authorization error: https://<myrepo-url>.git/info/lfs/locks/verify
Check that you have proper access to the repository
Uploading LFS objects: 100% (5/5), 507 KB | 0 B/s, done
Counting objects: 104, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (69/69), done.
Writing objects: 100% (104/104), 1.22 MiB | 7.37 MiB/s, done.
Total 104 (delta 6), reused 0 (delta 0)
remote: Resolving deltas: 100% (6/6), done.
remote:
remote: Create pull request for JAVA:
remote:   https://<myrepo-url>/compare/commits?sourceBranch=refs/heads/JAVA
remote:
To ssh://<myrepo-url>.git
 * [new branch]      JAVA -> JAVA
Branch 'JAVA' set up to track remote branch 'JAVA' from 'origin'.

 

Is there something wrong with what I do, or is this just a "glitch" in git lfs?

I mainly wonder why git talks about https instead of ssh?

Thanks, Klaus

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events