1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 23:28:02 +00:00

Fix some typos in an old git TIL

This commit is contained in:
jbranchaud
2025-04-07 17:18:05 -05:00
parent a547b9cee2
commit 571f465fe6

View File

@@ -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 repository). There are also many new files generated as part of the most recent
test run. test run.
I want to staging the changes to files that are already tracked, but hold off I want to stage the changes to files that are already tracked, but hold off on
on doing anything with the new files. 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 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 tedious. Instead what I want is the `-u` flag. It's short for _update_ which
means it will only stage already tracked files. means it will only stage already tracked files.