diff --git a/pages/common/git-add.md b/pages/common/git-add.md index 8ebd90c8ae..33d29e2645 100644 --- a/pages/common/git-add.md +++ b/pages/common/git-add.md @@ -3,7 +3,7 @@ > Adds changed files to the index. > More information: . -- Add a file to the index: +- Stage a file for a commit: `git add {{path/to/file}}` @@ -19,9 +19,9 @@ `git add {{[-u|--update]}}` -- Also add ignored files: +- Add an ignored file: -`git add {{[-f|--force]}}` +`git add {{[-f|--force]}} {{path/to/file}}` - Interactively stage parts of files: