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.
我知道您可以使用GWrite暂存当前文件。您还可以使用GStatus和-暂存您选择的文件。
GWrite
GStatus
-
有没有办法处理GWrite所有文件或git add .不使用GStatus?
git add .
不是您的具体问题的答案,而是我从 github/tpope/vim-fugitive/README.markdown 中指定的一个截屏视频中学到的东西,您可以直观地选择所有文件行,-将它们全部暂存,然后cc提交,全部来自Gstatus屏幕内。
cc
Gstatus
看:h :Git,可以
:h :Git
运行任意 git 命令。类似于 :!git [args] 但首先 chdir 到存储库树。
:Git add .