git add
Basic WorkflowAdd file contents to the staging area
Examples
Common usage examples
Stage specific file
git add file.txtStage all changes in current directory
git add .Stage all changes in repository
git add -AInteractively stage changes
git add -pRelated Commands
You might also find these useful