How do I list just the files that would be committed?
Is there any way to get a list of files that will be committed when I type the following? git commit -m "my changes" git status lists too much. I could strip out all the words, but I'd rather not. And I don't want to be told about untracked files. I've tried git ls-files -md but that doesn't show files that have been recently added, but not yet committed. I'm looking for the same output you'd get from svn status -q For example $ svn status -q A file.py M dir/database.py M start.py This is what I was looking for. Thanks to notnoop for the lead I needed. I wanted to post back my solution in case