问题描述
我想通过github的窗户,因为易于使用和用户友好的设计。
但是我必须知道一些代码,我使用的是Github的经典版本。
例如如何达到这些命令?
gitk -all
git reset --hard HEAD
git diff
感谢您的帮助。 马克克莱默添加了(2014年7月):
原件答案(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):
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的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!