diff --git a/pages/common/git-commit.md b/pages/common/git-commit.md index df41d22000..73e18c710a 100644 --- a/pages/common/git-commit.md +++ b/pages/common/git-commit.md @@ -14,3 +14,7 @@ - Replace the last commit with currently staged changes: `git commit --amend` + +- Commit only specific (already staged) files: + +`git commit {{path/to/my/file1}} {{path/to/my/file2}}`