git add
Table of Contents
Add untracked files with --patch howto
- If you run 
git add --intent-to-add <file>, the specified untracked file will be added to the index, but not its content. 
--patch howtogit add --intent-to-add <file>, the specified untracked file will be added to the index, but not its content.