From 571f465fe6bfc39487d338ad8f9a87ad1a9a2a8d Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Mon, 7 Apr 2025 17:18:05 -0500 Subject: [PATCH] Fix some typos in an old git TIL --- git/add-only-tracked-files-from-a-directory.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/git/add-only-tracked-files-from-a-directory.md b/git/add-only-tracked-files-from-a-directory.md index 6b79438..99ad3e6 100644 --- a/git/add-only-tracked-files-from-a-directory.md +++ b/git/add-only-tracked-files-from-a-directory.md @@ -9,10 +9,10 @@ test runs. Most of these files are tracked (already checked in to the repository). There are also many new files generated as part of the most recent test run. -I want to staging the changes to files that are already tracked, but hold off -on doing anything with the new files. +I want to stage the changes to files that are already tracked, but hold off on +doing anything with the new files. -Running `git add spec/cassettes` won't do the track because that will pull in +Running `git add spec/cassettes` won't do the trick because that will pull in everything. Running `git add --patch spec/cassettes` will take long and be tedious. Instead what I want is the `-u` flag. It's short for _update_ which means it will only stage already tracked files.