如何在Github上获得一些关于windows的命令 [英] How to reach some commands on Github for windows
问题描述
我想通过github的窗户,因为易于使用和用户友好的设计。
但是我必须知道一些代码,我使用的是Github的经典版本。
例如如何达到这些命令?
gitk -all
git diff
感谢您的帮助。 马克克莱默添加了在评论中(2014年7月):
使用GitHub for Windows 2.0时,下拉菜单略有变化。
选择您希望使用的存储库(在左侧),然后从在Git Shell中打开
,您将看到一个窗口,可以让您输入命令行命令。
原件答案(2013年4月):
实际上,如果您使用GitHub for Windows,则无需单独下载msysgit:它自带有msysgit安装GitHub for Windows(一个Portable_Git,正如我在这里提到的)。
您可以简单地启动一个命令提示符(Powershell)会话,该会话将使用来自内部嵌套的PortableGit的git.exe:
在那里,您可以输入任何git命令你想。
I want to pass github for windows because of easy usage and its user friendly design. But I have to know some codes which i used classical version of Github.
For example how to reach these commands?
"gitk -all"
"git reset --hard HEAD"
"git diff"
Thanks for your help.
Mark Cramer adds in the comments (July 2014):
With GitHub for Windows 2.0 the drop-down menu has changed slightly.
Select the repository you wish to work with (on the left) and then from then "Open in Git Shell
" from the drop-down and you'll get a window that will enable you to enter command line commands.
Original answer (April 2013):
Actually, you don't need to download a separate msysgit if you are using GitHub for Windows: it does come with its own msysgit installation within GitHub for Windows (a Portable_Git, as I mentioned here).
You can simply launch a command prompt (Powershell) session, which will use that git.exe from the internal nested "PortableGit":
In there, you can type any git command you want.
这篇关于如何在Github上获得一些关于windows的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!