Re: problems of git-status
- From
Junio C Hamano <junkio@cox.net>
- Date
- Mar 28, 2007, 08:57 UTC
- Message-ID
- <7vy7lhkanp.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <460A2054.20404@gmail.com>
Liu Yubao <yubao.liu@gmail.com> writes:
> I find "git status" and "git status ." have different output.
Think of "git status $ANY_ARGUMENTS" a preview of "git commit $ANY_ARGUMENTS". If you have local modifications, "git commit" and "git commit ." would do different things, so corresponding "git status" should give you different output.
By giving "." to git status, the latter form is asking what reminder message you would see in the commit log message buffer if you say "git commit ."