4

I added recursively files and folder under a folder in git and would like to know the summary (say x files, y folders). I didn't find a suitable parameter for git status. Do we have a way to get this information?

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
ary
  • 597
  • 3
  • 8
  • 20

2 Answers2

1

git ls-files would help. Check the options to get modified files etc. Also git doesn't deal with folders at all only with files in subfolders, so you have to write some scripting wrappers for your particular case

user3159253
  • 16,836
  • 3
  • 30
  • 56
0

If you're using posh-git, status summary information is shown in Powershell by default.

posh-git status summary

Stevoisiak
  • 23,794
  • 27
  • 122
  • 225