author | Nicolas Pitre <nico@cam.org> | |
Mon, 4 Dec 2006 16:13:39 +0000 (11:13 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 5 Dec 2006 00:33:51 +0000 (16:33 -0800) | ||
commit | 366bfcb68f4d98a43faaf17893a1aa0a7a9e2c58 | |
tree | 70d87fdba82ccf99095148a4918a77e019d12891 | tree | snapshot |
parent | ba988a83f0cfdafdcfdc7ed44253840ea83578fb | commit | diff |
make 'git add' a first class user friendly interface to the index
This brings the power of the index up front using a proper mental model
without talking about the index at all. See for example how all the
technical discussion has been evacuated from the git-add man page.
Any content to be committed must be added together. Whether that
content comes from new files or modified files doesn't matter. You
just need to "add" it, either with git-add, or by providing
git-commit with -a (for already known files only of course).
No need for a separate command to distinguish new vs modified files
please. That would only screw the mental model everybody should have
when using GIT.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This brings the power of the index up front using a proper mental model
without talking about the index at all. See for example how all the
technical discussion has been evacuated from the git-add man page.
Any content to be committed must be added together. Whether that
content comes from new files or modified files doesn't matter. You
just need to "add" it, either with git-add, or by providing
git-commit with -a (for already known files only of course).
No need for a separate command to distinguish new vs modified files
please. That would only screw the mental model everybody should have
when using GIT.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-add.txt | diff | blob | history | |
Documentation/tutorial.txt | diff | blob | history | |
builtin-add.c | diff | blob | history | |
wt-status.c | diff | blob | history |