Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

A CLI Git Command to see all change in the Repo?

A CLI Git Command to see all change in the Repo?


I saw a developer with a great memory find a handful of files needed, when committing to Git. But, I was a little worried he missed one.


Can you provide the CLI command to query the current Repo for all uncommitted changes?


I assume once each file it committed, the list is zero, right? Or, is that only after pushed?


Thanks

ASKER CERTIFIED SOLUTION
Avatar of gr8gonzo
gr8gonzo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pepr
pepr

I also suggest to try the git gui utility that nicely shows modified files (top left window pane), staged files (bottom left), changes of the selected file (clicked), and allows you to write a commit comment, do the commit (button or shortcut), push, fetch, merge, and other usual things. I can also use the command-line equivalent (and I do use them often); anyway, that one GUI utility is nice.

The other nice GUI utility that is the part of the standard Git distribution is gitk --all