0

I've about twenty C# repositories, where I'm updating NuGet references with some PowerShell magic.

I know that git status -s returns a list of files that were modified. Does git status offer a switch where it only lists that were added to the index and therefore are going to be committed (in short format).

I found this stackoverflow answer, which is from 2009. The answer says I've to use git diff for that job.

However, since the answer is ten years old, I wanted to know if there is now a way of using git status -s with the actual Git version (=2.21.0).

Thanks.

isherwood
  • 52,576
  • 15
  • 105
  • 143
Moerwald
  • 9,219
  • 7
  • 35
  • 71

1 Answers1

-1

git status will show your all modified files which you have to committed.

Vivek Singh
  • 511
  • 5
  • 9