Git alias:
edit-cached = !"f() { git ls-files --cached | sort -u ; }; `grave;git var GIT_EDITOR`grave; `grave;f`grave;"
Example:
git edit-cached
Compare:
Compare corresponding aliases for add-*: