1

I need a list of all files that are unchanged, all files that are staged if any, and all files that would be staged if next command were git add -A.

Tried git ls-files -co (cached and others). But that seems to give a list which also includes the ignored files.

Is there a reliable command/option combination that I can obtain such a list? (to be used in a script).

sly
  • 1,722
  • 1
  • 10
  • 15

0 Answers0