문제

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
> _
도움이 되었습니까?

해결책

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.)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top