Feature request - summarise changes by folder
- From
- Alex Kubiesa <alex.kubiesa@outlook.com>
- Date
- Mar 9, 2024, 10:05 UTC
- Message-ID
- <CWXP123MB5097836BE3E01F6F90487C3580262@CWXP123MB5097.GBRP123.PROD.OUTLOOK.COM>
Hi,
I'm new here so please let me know if there is a better place/format to post something like this.
I am using Git for a personal ML project which has a large number of image files (about 32,000 as of today). Every time I add or remove image data, the number or added/deleted files is so large that it overwhelms Git Bash and other Git clients and IDE extensions. If I have other unstaged changes at the same time, for example changing a few lines in a data generating script, they get lost in the noise.
To solve this, my suggestion would be to add an option to `git diff` or `git status` which counts added/deleted/changed files by folder. From that information, one could drill down into specific folders to get a handle on all the changes. I tried some existing options like `git diff --dirstat=files` and `git diff --shortstat` but neither of these gave me enough confidence to stage and commit my changes.
For now, I am piping `git status` to a file and scanning through the file manually, but it would be great if there was a better option.
Thanks, Alex