diff options
author | Björn Gustavsson <bgustavsson@gmail.com> | 2009-12-07 09:20:09 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-07 00:27:57 -0800 |
commit | 968d70723ae1e352bde2f7171d18484186838d9f (patch) | |
tree | 6dd2c5e50b914a342f9b2ab4ecf9b3b4c24d23e8 /Documentation/technical/api-object-access.txt | |
parent | Git 1.6.5.5 (diff) | |
download | tgif-968d70723ae1e352bde2f7171d18484186838d9f.tar.xz |
Documentation: 'git add -A' can remove files
The current documentation fails to mention that 'git add -A/--all' can
remove files as well as add them, and it also does not say anything about
filepatterns (whether they are allowed, mandatory, or optional). It is
also not clear what the similarities and differences to the -u option are.
Update the intro paragraph (as suggested by Junio, with some minor edits)
to make it clear that 'git add' is able to delete and to also cover the -p
option.
Reword the description of -u to make it clearer (based on Björn
Steinbrink's suggestion).
Simplify the description of -A by saying "Like -u" and then describe the
differences (based on the suggestions by Björn Steinbrink and Junio).
Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/api-object-access.txt')
0 files changed, 0 insertions, 0 deletions