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.