Git alias:
add-ignored = !"f() { git ls-files --ignored | sort -u ; }; git add `f`"
Example:
git add-ignored
Compare:
- git add-cached
- git add-deleted
- git add-others
- git add-ignored (this alias)
- git add-killed
- git add-modified
- git add-stage
- git add-unmerged
Compare corresponding aliases for edit-*: