Repository navigation
credential.helper=cache only works before starting lazygit #1496
|
Describe the bug Such mechanism still works, if I perform one such login in normal git command line, and then start to do all the pull/push inside lazygit. |
Replies: 3 comments
|
That's right: lazygit either runs git directly (no bash involved) or via a short-lived bash process. Not sure how to get around this one. |
|
Fair enough. Until we would have a real solution, I would suggest @jesseduffield you convert this github issue into a github discussion, and mark it as "answered", so that it would at least become a known workaround for more audience. |
|
I ran into what looks like the same problem using Git has an option that fixed it for me, followed by restarting the daemon ( It was originally added for a similar situation with Emacs, where the daemon gets a SIGHUP when the git command that started it exits. I haven't tested it with plain passwords, but the option only affects the daemon, not what it's caching, so it should behave the same. |
That's right: lazygit either runs git directly (no bash involved) or via a short-lived bash process. Not sure how to get around this one.