threads / discuss / 19042

On "git status"

Subject: On "git status"

## tl;dr

4 messages between Apr 24, 2009 and Apr 24, 2009.

replies: 3people: 3as markdown or json

Ulrich Windl· Apr 24, 2009, 11:24 UTC · lore
Hi,

I'm unsure it exists already, but "git status" doesn't display the tracked files. Would it make sense to have those reported with a "git status -v" (for verbose)? (You know: I'm thinking about "cvs status"...)

Regards, Ulrich

Michael J Gruber· Apr 24, 2009, 11:40 UTC · re: Ulrich Windl · lore

Re: On "git status"

Ulrich Windl venit, vidit, dixit 24.04.2009 13:24:
Show 5 quoted lines
> Hi,
> 
> I'm unsure it exists already, but "git status" doesn't display the tracked files. 
> Would it make sense to have those reported with a "git status -v" (for verbose)?
> (You know: I'm thinking about "cvs status"...)

"git status" is basically "git commit --dry-run", which is different from "cvs/svn/hg status".

"git diff --name-status" gives output similar to those.
"git ls-files" allows to list all tracked files.
Michael
Ulrich Windl· Apr 24, 2009, 12:39 UTC · re: Michael J Gruber · lore

Re: On "git status"

On 24 Apr 2009 at 13:40, Michael J Gruber wrote:
Show 13 quoted lines
> Ulrich Windl venit, vidit, dixit 24.04.2009 13:24:
> > Hi,
> > 
> > I'm unsure it exists already, but "git status" doesn't display the tracked files. 
> > Would it make sense to have those reported with a "git status -v" (for verbose)?
> > (You know: I'm thinking about "cvs status"...)
> 
> "git status" is basically "git commit --dry-run", which is different
> from "cvs/svn/hg status".
> 
> "git diff --name-status" gives output similar to those.
> 
> "git ls-files" allows to list all tracked files.

OK, so many commands to learn.... Still shouldn't "git status --help" be able to display some help text (other than "man page not found")?

Regards, Ulrich

Matthieu Moy· Apr 24, 2009, 12:45 UTC · re: Ulrich Windl · lore

Re: On "git status"

"Ulrich Windl" <ulrich.windl@rz.uni-regensburg.de> writes:
> OK, so many commands to learn.... Still shouldn't "git status --help" be able to 
> display some help text (other than "man page not found")?

It is. You, or your distro, miss-installed it (maybe "make install-doc" ?)

-- 
Matthieu

← back to recent threads