git-lfs-s3 icon indicating copy to clipboard operation
git-lfs-s3 copied to clipboard

Keeps prompting for password

Open OptimisticMonkey opened this issue 10 years ago • 4 comments

I have the environment variables set in .bash_profile e.g. echo $USERNAME user

But when i try git push -u origin master I can see in the log xxxxxxxxxx - - [28/Aug/2015:17:34:29 +0000] "POST /objects HTTP/1.1" 401 28 0.0004 ipxxxxxxxxxxxxxxxxx - - [28/Aug/2015:17:34:29 UTC] "POST /objects HTTP/1.1" 401 28

and it keeps asking for username and password on the client.

The good news is that there are two files that did show up in the bucket....so it is close.... any ideas?

OptimisticMonkey avatar Aug 28 '15 17:08 OptimisticMonkey

Bypassed py embedding credentials in [lfs] section of gitconfig

OptimisticMonkey avatar Oct 03 '15 14:10 OptimisticMonkey

@OptimisticMonkey How dod you do that? Here is my config in my local .gitconfig:

[lfs] url=foo.bar.com username=someUser password=blargh

Is that correct?

nterry avatar Nov 13 '15 06:11 nterry

http://username:[email protected]:port

yvirin avatar Feb 04 '16 07:02 yvirin

@OptimisticMonkey im also curious how you bypassed the constant prompting. neither @nterry's suggestion nor @yvirin's suggestion worked for me.

lyoshenka avatar Jun 15 '16 19:06 lyoshenka