Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何让 git 回显在git add命令期间暂存的文件?
git add
像这样的东西...
> git add app/ app/index.html added > _
采用:
git add -v
(或者--verbose,同样的事情)。无论出于何种原因,git rm总是-v(实际上 - 它实际上没有-v选项)并且需要-q使其安静,而git add从不冗长并且需要-v使其响亮。(或者,-n它实际上并没有添加但很冗长。)
--verbose
git rm
-v
-q
-n