有没有办法看到SmartGit执行的shell命令? [英] Is there a way to see the shell commands executed by SmartGit?

查看:623
本文介绍了有没有办法看到SmartGit执行的shell命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对git非常陌生,正在学习一般流程和所有命令行选项。
但是,有时我喜欢使用SmartGit的图形界面连接到shell,特别是如果我不确定完成流任务的最佳方式。



我的问题:是否有任何方法可以查看该工具执行的git shell命令。
我可能最终会使用shell执行大多数git动作,并且只使用GUI进行视觉效果。因此,了解GUI操作如何转化为实际的git命令会很有帮助。 确保在首选项的部分中选择<输出视图中显示已执行的命令 >命令。



对于SmartGit 4.6.x(及更早版本),请转到其设置目录(请参阅关于对话框),并取消 smartgit.properties

  smartgit.command.show = true 


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.

解决方案

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

这篇关于有没有办法看到SmartGit执行的shell命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆