$ vim `git status --porcelain | sed -ne 's/^ M //p'`
The option --porcelain makes the output of git easier to parse.
This one-liner may not work if there is a space in the modified file name.
Diff your entire server config at ScriptRock.com
$ vim `git status --porcelain | sed -ne 's/^ M //p'`
The option --porcelain makes the output of git easier to parse.
This one-liner may not work if there is a space in the modified file name.
Diff your entire server config at ScriptRock.com