You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A common operation for me in the CLI is to run a git diff --staged to get a concise summary of the entire set of staged changes before I commit. Is there an equivalent view in lazygit?
Basically, I want to diff view that shows up when browsing commits on the main screen, but for staged changes.
I've tried:
Filtering files by "staged" - this is close, but is not concise (need to browse through all files) and will also include unstaged changes in a staged file
Creating a commit first, checking the diff, then amending if necessary - this works, but is a pain to reason about if I need to remove e.g. specific lines from a file from the commit, and it also involves naming etc the commit first. I'd like something to show the diff before I make the commit.
More of a feature request, but I'd love if there was a "root" view in the files browser that would summarise all the changes in the entire repository, like what selecting a directory does.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
A common operation for me in the CLI is to run a
git diff --staged
to get a concise summary of the entire set of staged changes before I commit. Is there an equivalent view in lazygit?Basically, I want to diff view that shows up when browsing commits on the main screen, but for staged changes.
I've tried:
More of a feature request, but I'd love if there was a "root" view in the files browser that would summarise all the changes in the entire repository, like what selecting a directory does.
Beta Was this translation helpful? Give feedback.
All reactions