-
New user here. Hope someone can explain what I'm doing incorrectly. I want to do an amend, so:
It shows an error:
I press @ then "Focus command log" and it shows
I disconnected the network to avoid making mistakes while learning to use lazygit. Glad I did! I just want to amend the last commit, not push. Why is it trying to reach the remote, and how do I prevent that? lazygit 0.44.1, linux |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
It should work offline, the only thing I could think of that could fail offline is the auto fetch (which is enabled by default), but that wouldn't happen at the exact moment when you're amending. A few things to help narrow this down:
Also you can try it in a new repo that doesn't have an upstream, that way you don't have to worry about it being pushed anywhere:
|
Beta Was this translation helpful? Give feedback.
Does the script reach the
exit 1
part? If it does, then that's probably whylazygit
considers it an error, because the exit code is non-zero.