@@ -24,22 +24,22 @@ remove paths that do not exist in the working tree anymore.
24
24
The "index" holds a snapshot of the content of the working tree, and it
25
25
is this snapshot that is taken as the contents of the next commit. Thus
26
26
after making any changes to the working directory, and before running
27
- the commit command, you must use the ' add' command to add any new or
27
+ the commit command, you must use the ` add` command to add any new or
28
28
modified files to the index.
29
29
30
30
This command can be performed multiple times before a commit. It only
31
31
adds the content of the specified file(s) at the time the add command is
32
32
run; if you want subsequent changes included in the next commit, then
33
- you must run ' git add' again to add the new content to the index.
33
+ you must run ` git add` again to add the new content to the index.
34
34
35
- The ' git status' command can be used to obtain a summary of which
35
+ The ` git status` command can be used to obtain a summary of which
36
36
files have changes that are staged for the next commit.
37
37
38
- The ' git add' command will not add ignored files by default. If any
39
- ignored files were explicitly specified on the command line, ' git add'
38
+ The ` git add` command will not add ignored files by default. If any
39
+ ignored files were explicitly specified on the command line, ` git add`
40
40
will fail with a list of ignored files. Ignored files reached by
41
41
directory recursion or filename globbing performed by Git (quote your
42
- globs before the shell) will be silently ignored. The ' add' command can
42
+ globs before the shell) will be silently ignored. The ` add` command can
43
43
be used to add ignored files with the `-f` (force) option.
44
44
45
45
Please see linkgit:git-commit[1] for alternative ways to add content to a
@@ -119,8 +119,8 @@ subdirectories.
119
119
Record only the fact that the path will be added later. An entry
120
120
for the path is placed in the index with no content. This is
121
121
useful for, among other things, showing the unstaged content of
122
- such files with ' git diff' and committing them with ' git commit
123
- -a' .
122
+ such files with ` git diff` and committing them with ` git commit
123
+ -a` .
124
124
125
125
--refresh::
126
126
Don't add the file(s), but only refresh their stat()
@@ -140,7 +140,7 @@ subdirectories.
140
140
Configuration
141
141
-------------
142
142
143
- The optional configuration variable ' core.excludesfile' indicates a path to a
143
+ The optional configuration variable ` core.excludesfile` indicates a path to a
144
144
file containing patterns of file names to exclude from git-add, similar to
145
145
$GIT_DIR/info/exclude. Patterns in the exclude file are used in addition to
146
146
those in info/exclude. See linkgit:gitrepository-layout[5].
@@ -188,17 +188,17 @@ and type return, like this:
188
188
What now> 1
189
189
------------
190
190
191
- You also could say "s" or " sta" or " status" above as long as the
191
+ You also could say `s` or ` sta` or ` status` above as long as the
192
192
choice is unique.
193
193
194
194
The main command loop has 6 subcommands (plus help and quit).
195
195
196
196
status::
197
197
198
198
This shows the change between HEAD and index (i.e. what will be
199
- committed if you say " git commit" ), and between index and
199
+ committed if you say ` git commit` ), and between index and
200
200
working tree files (i.e. what you could stage further before
201
- " git commit" using " git- add" ) for each path. A sample output
201
+ ` git commit` using ` git add` ) for each path. A sample output
202
202
looks like this:
203
203
+
204
204
------------
0 commit comments