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
  • 58,414
  • 16
  • 114
  • 157
Moerwald
  • 10,448
  • 9
  • 43
  • 83

1 Answers1

-1

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

Vivek Singh
  • 521
  • 6
  • 9