Search notes:
git add
git add
adds files (or more accurately their content) to the
index
.
After adding files to the index, they can be put permanently to a repository's history with
git commit
.
See also
git commands
Index