Is there a way to see the shell commands executed by SmartGit?

让人想犯罪 __ 提交于 2019-12-07 06:15:42

问题


I am pretty new to git and am learning the general flow and all the command-line options. However, sometimes I like to use the graphical interface of SmartGit in conjunction to the shell, especially if I am unsure of the best way to accomplish a flow task.

My question: Is there any way to see what git shell commands are executed by the tool. I will probably eventually execute most git actions using the shell and only use the GUI for visuals. Thus, it would be helpful to see how GUI actions translate into the actual git commands.


回答1:


Since SmartGit 17, commands will always be shown.

For SmartGit 8.x (down to 5), make sure to have Show executed command in Output view selected in the Preferences, section Commands.

For SmartGit 4.6.x (and older), go to its settings directory (see About dialog), and uncomment following line in smartgit.properties:

smartgit.command.show=true



回答2:


In SmartGit 18 the git shell commands are shown in the "Output Window". You show/hide said window by clicking in the "Window" menu and selecting it, as it can be seen in this image.

I'm adding this remark because I closed the Output Window by mistake, and the main answer of this post turned out to be of no help.



来源:https://stackoverflow.com/questions/18832029/is-there-a-way-to-see-the-shell-commands-executed-by-smartgit

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!