Question

How do I get git to echo what files that are being staged during git add command?

Something like this...

> git add app/
app/index.html added
> _
Was it helpful?

Solution

Use:

git add -v

(or --verbose, same thing). For whatever reasons, git rm is always -v (in effect—it doesn't actually have a -v option) and requires -q to make it quiet, while git add is never verbose and requires -v to make it loud. (Or, with -n it doesn't actually add but is verbose.)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top