Code

Add a built-in alias for 'stage' to the 'add' command
authorScott Chacon <schacon@gmail.com>
Tue, 2 Dec 2008 06:14:55 +0000 (22:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 Dec 2008 00:13:16 +0000 (16:13 -0800)
commit11920d28da1ac1b65eb4041c1b7355924e5d1366
tree28c1936752ae6e0bb122bf128734b88bb0f713a9
parentd404bf0288ac1a2c4276d009c0e1c88519e5a7c9
Add a built-in alias for 'stage' to the 'add' command

This comes from conversation at the GitTogether where we thought it would
be helpful to be able to teach people to 'stage' files because it tends
to cause confusion when told that they have to keep 'add'ing them.

This continues the movement to start referring to the index as a
staging area (eg: the --staged alias to 'git diff'). Also adds a
doc file for 'git stage' that basically points to the docs for
'git add'.

Signed-off-by: Scott Chacon <schacon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-stage.txt [new file with mode: 0644]
git.c