在Visual Studio Code中,如何获取在“源代码管理"窗格中执行的所有git命令的git日志? [英] In Visual Studio Code, how can I get a git log of all git commands executed in the Source Control pane?
问题描述
在vscode Source Control窗格中,我想获取运行会话的任何已应用git命令的命令的日志,包括所有鼠标单击操作.
In vscode Source Control pane, I would like to get a log of the commands of any applied git command of the running session, including all mouse-click actions.
例如:
在初始化存储库"之前:
Before "Initialize Repository":
在初始化存储库"之后,应记录 git init
命令:
After "Initialize Repository", which should log the git init
command:
以此类推.
推荐答案
如果选择 Git
Git Output 在 Output
窗格中可用.>而不是其工具栏中的 Tasks
.
The Git Output
is available in the Output
pane if you select Git
instead of Tasks
from its toolbar.
您可以通过["Source Control">3点[...]>显示Git输出"].
You get the same result through ["Source Control" > 3 dots [...] > "Show Git Output"].
(此引用@PanagiotisKanavos的评论,在请求后未答复.)
(This quotes @PanagiotisKanavos's comment who has not answered after request.)
这篇关于在Visual Studio Code中,如何获取在“源代码管理"窗格中执行的所有git命令的git日志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!