Command
Explanation
git add is used to add file contents to the index. It adds the file contents to the index.
Examples
Stage specific file
Stage all changes
Stage changes interactively
git add is used to add file contents to the index. It adds the file contents to the index.
Stage specific file
Stage all changes
Stage changes interactively