Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 30, 2006, 18:47 UTC
- Message-ID
- <ekn8s3$lh6$1@sea.gmane.org>
- In-Reply-To
- <87irgwu6e6.wl%cworth@cworth.org>
Carl Worth wrote:
> In most other systems I've used, 'add' means "I want the system to > 'know' about this file" while 'commit' means "Please commit the > current state of all files you 'know' about (or the ones I mention > here on the command line)".
while in git "git add" means "I want to add this file" (in the state it is now) and not "I want the system to 'know' about this file". And "commit" mean "Please commit the current 'known' state of all files (or/and the current state of files I mention here on the comand line)".
Yes, this is different than what other SCM do...
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git