Git - List all changed files during staging

Viewed 837

I've been looking for a way to get all the changed files in a repository during the staging process (uncommitted) in a list, but all I can find is how to do it between 2 commits.

Doing git status shows a list of modified files, but I need to get the list in a format that I can parse easily with a script.

How can I accomplish this?

5 Answers
Related