Skip to content

Any way to store remote authentication? #3610

Answered by mark2185
pantsmanuk asked this question in Q&A
Discussion options

You must be logged in to vote

Not by lazygit directly, but git can cache it for you and lazygit can take advantage of that.

Try using the credential helper and giving it a cache of 3600s:

git config credential.helper 'cache --timeout=3600'

Other than that I'd suggest using the remote over ssh instead of https.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pantsmanuk
Comment options

Answer selected by pantsmanuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants