Re: problems of git-status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Liu Yubao <yubao.liu@xxxxxxxxx> 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 ."

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]