I often run a git status and then want to see the specific diffs of one of those files. So after:
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: path/to/modified/file1
modified: path/to/modified/file1
Is it possible with git, or as a fallback bash, to git diff the nth modified file, so that git diff <someMagic(2)> would reduce to git diff path/to/modified/file2.
my main question is if this exists within git, and if not to help with a bash command.