Skip to content

Commit 2db0bfb

Browse files
Nikolai WeibullJunio C Hamano
authored andcommitted
Document a couple of missing command-line options.
This patch adds documentation to quite a few command-line options. Signed-off-by: Nikolai Weibull <nikolai@bitwi.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent b2309b7 commit 2db0bfb

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

Documentation/git-checkout-index.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ Will copy all files listed from the index to the working directory
1818

1919
OPTIONS
2020
-------
21-
-u::
21+
-u|--index::
2222
update stat information for the checked out entries in
2323
the index file.
2424

25-
-q::
25+
-q|--quiet::
2626
be quiet if files exist or are not in the index
2727

28-
-f::
28+
-f|--force::
2929
forces overwrite of existing files
3030

31-
-a::
31+
-a|--all::
3232
checks out all files in the index. Cannot be used
3333
together with explicit filenames.
3434

35-
-n::
35+
-n|--no-create::
3636
Don't checkout new files, only refresh files already checked
3737
out.
3838

Documentation/git-prune-packed.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ compression applied, stored in a single file, with an associated index file.
2323

2424
Packs are used to reduce the load on mirror systems, backup engines, disk storage, etc.
2525

26+
OPTIONS
27+
-------
28+
-n::
29+
Don't actually remove any objects, only show those that would have been
30+
removed.
31+
2632
Author
2733
------
2834
Written by Linus Torvalds <torvalds@osdl.org>

Documentation/git-read-tree.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ OPTIONS
3030
-m::
3131
Perform a merge, not just a read.
3232

33+
--reset::
34+
35+
Same as -m except that unmerged entries will be silently ignored.
36+
3337
-u::
3438
After a successful merge, update the files in the work
3539
tree with the result of the merge.

0 commit comments

Comments
 (0)