gadd
Easily select the modified or untracked files from a list to stage them for the next commit.
Table of contents
Demo
Internals
git add <filepath>
add file contents to the index.
git add --intent-to-add <filepath>
An entry for the path is placed in the index with no content. This is useful for showing the contents of a new file with git diff