From a99bd9a9f4732da96bc80776ec9ca576169e236e Mon Sep 17 00:00:00 2001 From: Dylan <145150333+dmmqz@users.noreply.github.com> Date: Sat, 24 Jan 2026 03:20:38 +0000 Subject: [PATCH] git-add: fix --force example (#20885) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/git-add.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: