threads / discuss / 61077

Feature request - summarise changes by folder

Subject: Feature request - summarise changes by folder

## tl;dr

One message between Mar 9, 2024 and Mar 9, 2024.

replies: 0people: 1as markdown or json

Alex Kubiesa· Mar 9, 2024, 10:05 UTC · lore
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

← back to recent threads