Question

I'm using Windows XP and I log in to a unix system using Putty 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?

Was it helpful?

Solution

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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top