开发者

How to use Git GUI from Unix using Xming

I'm using Windows XP and I log in to a unix system using 开发者_如何学PythonPutty where I run several Git commands. I have also installed Xming + Git GUI in my Windows system.

Now is it possible to use the Git GUI installed in my windows from the Unix system I login? For instance, if I give, git diff can it open the visual difference in my Windows Git GUI?


I figured it out lately.. This is what I did,

  1. I have started xming and the putty (with X11 forwarding enabled)
  2. Then after login to Unix, i set the DISPLAY environment variable to my localIP:0.0 (xming port)
  3. Then I have the command, git difftool HEAD myfilename, which opened the p4Merge (which i had already installed in my windows) and showed the different in GUI.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜