Solution for GIT GUI Client for Remote SSH

I am a GUI GIT user. I do not use in my local development. However, we now have a server with a GIT repo. I would like to know any solution that I can remotely push, pull and distinguish using the GIT GUI client to access this?

Currenly. I am SSH for a linux server and use the GIT command to execute the entire GIT command. But it was very difficult for me to get to the difference. That's why I think there is a solution for me using the GIT GUI client access remote repo and run the GIT command with the GIT client.

I want to mount a remote server in a GIT repository. Currently, we only open the GIT repo on our local drive. for example, file C: \ www \ repo.git, how do I want to access 10.10.10.10/home/www/.git and execute the entire GIT command in the GIT client.

The solution is open for OSX and Windows.

+7
source share
3 answers

if your server is turned on, you can use XForwardingto display a graphical user interface running on a remote computer on your local machine.

, (, git-gui, , tcl/tk, , X), Xforwarding, , /etc/ssh/sshd_config:

X11Forwarding yes

linux, -X XForwarding :

 shiro@local:~$ ssh -X gituser@gitserver
 gituser@gitserver:~$ cd repo.git
 gituser@gitserver:~/repo.git$ git gui

OSX -Y

 shiro@applejoice:~$ ssh -Y gituser@gitserver
 gituser@gitserver:~$ cd repo.git
 gituser@gitserver:~/repo.git$ git gui

XForwarding Xserver, . Linux ( OSX), W32. Xservers W32 (, Xming)

0

-, diff, git fetch diff ( git gui), .

-, ssh- , ssh.

git command git@gitserver:/path/to/git/project.git (repalce "command" clone/push/pull/fetch)
, .

. Git - ssh, Linux Mac.
Windows ssh, , copssh-free-edition.


, GIT. , .

ssh , git add git , , , diff. -

+2

VNC/remote X ( ), , , - Visual Studio Code.

ssh ( VSCode), git VSCode . , , , , , .. . .

0

Source: https://habr.com/ru/post/1612930/


All Articles