File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ to commit your changes to that file, you can run:
29
29
30
30
You can also add only part of your changes to a file with `git add -p`.
31
31
32
- This command can be performed multiple times before a commit. It only
33
- adds the content of the specified file(s) at the time the add command is
34
- run; if you want subsequent changes included in the next commit, then
35
- you must run `git add` again to add the new content to the index .
32
+ The `git add` command only stages the changes at the time that you run
33
+ it. If you edit ` file.c` after running `git add file.c`, you need to
34
+ stage the new changes before committing, for example by running
35
+ `git add file.c ` again.
36
36
37
37
The `git status` command can be used to obtain a summary of which
38
38
files have changes that are staged for the next commit.
You can’t perform that action at this time.
0 commit comments