@@ -47,7 +47,7 @@ OPTIONS
4747
4848-i::
4949 Usually a merge requires the index file as well as the
50- files in the working tree are up to date with the
50+ files in the working tree to be up to date with the
5151 current head commit, in order not to lose local
5252 changes. This flag disables the check with the working
5353 tree and is meant to be used when creating a merge of
@@ -71,21 +71,21 @@ OPTIONS
7171--aggressive::
7272 Usually a three-way merge by 'git read-tree' resolves
7373 the merge for really trivial cases and leaves other
74- cases unresolved in the index, so that Porcelains can
74+ cases unresolved in the index, so that porcelains can
7575 implement different merge policies. This flag makes the
76- command to resolve a few more cases internally:
76+ command resolve a few more cases internally:
7777+
7878* when one side removes a path and the other side leaves the path
7979 unmodified. The resolution is to remove that path.
8080* when both sides remove a path. The resolution is to remove that path.
81- * when both sides adds a path identically. The resolution
81+ * when both sides add a path identically. The resolution
8282 is to add that path.
8383
8484--prefix=<prefix>/::
8585 Keep the current index contents, and read the contents
86- of named tree-ish under directory at `<prefix>`. The
86+ of the named tree-ish under the directory at `<prefix>`. The
8787 original index file cannot have anything at the path
88- `<prefix>` itself, and have nothing in `<prefix>/`
88+ `<prefix>` itself, nor anything in the `<prefix>/`
8989 directory. Note that the `<prefix>/` value must end
9090 with a slash.
9191
@@ -379,45 +379,45 @@ have finished your work-in-progress), attempt the merge again.
379379Sparse checkout
380380---------------
381381
382- "Sparse checkout" allows to sparsely populate working directory.
383- It uses skip-worktree bit (see linkgit:git-update-index[1]) to tell
384- Git whether a file on working directory is worth looking at.
382+ "Sparse checkout" allows populating the working directory sparsely .
383+ It uses the skip-worktree bit (see linkgit:git-update-index[1]) to tell
384+ Git whether a file in the working directory is worth looking at.
385385
386- " git read-tree" and other merge-based commands (" git merge", " git
387- checkout" ...) can help maintaining skip-worktree bitmap and working
386+ ' git read-tree' and other merge-based commands (' git merge', ' git
387+ checkout' ...) can help maintaining the skip-worktree bitmap and working
388388directory update. `$GIT_DIR/info/sparse-checkout` is used to
389- define the skip-worktree reference bitmap. When " git read-tree" needs
390- to update working directory, it will reset skip-worktree bit in index
389+ define the skip-worktree reference bitmap. When ' git read-tree' needs
390+ to update the working directory, it resets the skip-worktree bit in the index
391391based on this file, which uses the same syntax as .gitignore files.
392- If an entry matches a pattern in this file, skip-worktree will be
393- set on that entry. Otherwise, skip-worktree will be unset .
392+ If an entry matches a pattern in this file, skip-worktree will not be
393+ set on that entry. Otherwise, skip-worktree will be set .
394394
395395Then it compares the new skip-worktree value with the previous one. If
396- skip-worktree turns from unset to set , it will add the corresponding
397- file back. If it turns from set to unset , that file will be removed.
396+ skip-worktree turns from set to unset , it will add the corresponding
397+ file back. If it turns from unset to set , that file will be removed.
398398
399399While `$GIT_DIR/info/sparse-checkout` is usually used to specify what
400- files are in. You can also specify what files are _not_ in, using
401- negate patterns. For example, to remove file " unwanted" :
400+ files are in, you can also specify what files are _not_ in, using
401+ negate patterns. For example, to remove the file ` unwanted` :
402402
403403----------------
404404*
405405!unwanted
406406----------------
407407
408- Another tricky thing is fully repopulating working directory when you
408+ Another tricky thing is fully repopulating the working directory when you
409409no longer want sparse checkout. You cannot just disable "sparse
410- checkout" because skip-worktree are still in the index and you working
411- directory is still sparsely populated. You should re-populate working
410+ checkout" because skip-worktree bits are still in the index and your working
411+ directory is still sparsely populated. You should re-populate the working
412412directory with the `$GIT_DIR/info/sparse-checkout` file content as
413413follows:
414414
415415----------------
416416*
417417----------------
418418
419- Then you can disable sparse checkout. Sparse checkout support in " git
420- read-tree" and similar commands is disabled by default. You need to
419+ Then you can disable sparse checkout. Sparse checkout support in ' git
420+ read-tree' and similar commands is disabled by default. You need to
421421turn `core.sparseCheckout` on in order to have sparse checkout
422422support.
423423
0 commit comments