Adds the file (or the directory) <pathname> to the staging area. If <pathname> matches a group of files or a directory, this command will add them all.
Specific examples:
- git add utils/capitalize.js
- git add .
git add <pathname>Adds the file (or the directory) <pathname> to the staging area. If <pathname> matches a group of files or a directory, this command will add them all.
Specific examples: