@@ -46,7 +46,7 @@ OPTIONS
46
46
47
47
-i::
48
48
Usually a merge requires the index file as well as the
49
- files in the working tree are up to date with the
49
+ files in the working tree to be up to date with the
50
50
current head commit, in order not to lose local
51
51
changes. This flag disables the check with the working
52
52
tree and is meant to be used when creating a merge of
@@ -70,21 +70,21 @@ OPTIONS
70
70
--aggressive::
71
71
Usually a three-way merge by 'git read-tree' resolves
72
72
the merge for really trivial cases and leaves other
73
- cases unresolved in the index, so that Porcelains can
73
+ cases unresolved in the index, so that porcelains can
74
74
implement different merge policies. This flag makes the
75
- command to resolve a few more cases internally:
75
+ command resolve a few more cases internally:
76
76
+
77
77
* when one side removes a path and the other side leaves the path
78
78
unmodified. The resolution is to remove that path.
79
79
* when both sides remove a path. The resolution is to remove that path.
80
- * when both sides adds a path identically. The resolution
80
+ * when both sides add a path identically. The resolution
81
81
is to add that path.
82
82
83
83
--prefix=<prefix>/::
84
84
Keep the current index contents, and read the contents
85
- of named tree-ish under directory at `<prefix>`. The
85
+ of the named tree-ish under the directory at `<prefix>`. The
86
86
original index file cannot have anything at the path
87
- `<prefix>` itself, and have nothing in `<prefix>/`
87
+ `<prefix>` itself, nor anything in the `<prefix>/`
88
88
directory. Note that the `<prefix>/` value must end
89
89
with a slash.
90
90
@@ -378,15 +378,15 @@ have finished your work-in-progress), attempt the merge again.
378
378
Sparse checkout
379
379
---------------
380
380
381
- "Sparse checkout" allows to sparsely populate working directory.
382
- It uses skip-worktree bit (see linkgit:git-update-index[1]) to tell
383
- Git whether a file on working directory is worth looking at.
381
+ "Sparse checkout" allows populating the working directory sparsely .
382
+ It uses the skip-worktree bit (see linkgit:git-update-index[1]) to tell
383
+ Git whether a file in the working directory is worth looking at.
384
384
385
- " git read-tree" and other merge-based commands (" git merge", " git
386
- checkout" ...) can help maintaining skip-worktree bitmap and working
385
+ ' git read-tree' and other merge-based commands (' git merge', ' git
386
+ checkout' ...) can help maintaining the skip-worktree bitmap and working
387
387
directory update. `$GIT_DIR/info/sparse-checkout` is used to
388
- define the skip-worktree reference bitmap. When " git read-tree" needs
389
- to update working directory, it will reset skip-worktree bit in index
388
+ define the skip-worktree reference bitmap. When ' git read-tree' needs
389
+ to update the working directory, it resets the skip-worktree bit in the index
390
390
based on this file, which uses the same syntax as .gitignore files.
391
391
If an entry matches a pattern in this file, skip-worktree will be
392
392
set on that entry. Otherwise, skip-worktree will be unset.
@@ -396,27 +396,27 @@ skip-worktree turns from unset to set, it will add the corresponding
396
396
file back. If it turns from set to unset, that file will be removed.
397
397
398
398
While `$GIT_DIR/info/sparse-checkout` is usually used to specify what
399
- files are in. You can also specify what files are _not_ in, using
400
- negate patterns. For example, to remove file " unwanted" :
399
+ files are in, you can also specify what files are _not_ in, using
400
+ negate patterns. For example, to remove the file ` unwanted` :
401
401
402
402
----------------
403
403
*
404
404
!unwanted
405
405
----------------
406
406
407
- Another tricky thing is fully repopulating working directory when you
407
+ Another tricky thing is fully repopulating the working directory when you
408
408
no longer want sparse checkout. You cannot just disable "sparse
409
- checkout" because skip-worktree are still in the index and you working
410
- directory is still sparsely populated. You should re-populate working
409
+ checkout" because skip-worktree bits are still in the index and your working
410
+ directory is still sparsely populated. You should re-populate the working
411
411
directory with the `$GIT_DIR/info/sparse-checkout` file content as
412
412
follows:
413
413
414
414
----------------
415
415
*
416
416
----------------
417
417
418
- Then you can disable sparse checkout. Sparse checkout support in " git
419
- read-tree" and similar commands is disabled by default. You need to
418
+ Then you can disable sparse checkout. Sparse checkout support in ' git
419
+ read-tree' and similar commands is disabled by default. You need to
420
420
turn `core.sparseCheckout` on in order to have sparse checkout
421
421
support.
422
422
0 commit comments