开发者

How to use Git GUI from Unix using Xming

开发者 https://www.devze.com 2023-03-08 11:49 出处:网络
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.

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

精彩评论

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

关注公众号