简体   繁体   English

任何可通过SSH工作的git repo查看器?

[英]Any git repo viewer that works over SSH?

so I have a folder of Git repositories on a Linux(Ubuntu) box that I can only access via commandline SSH. 所以我在Linux(Ubuntu)盒子上有一个Git存储库文件夹,只能通过命令行SSH访问。 I mainly work on Windows and I want to find a way to look at the list of repositories on Windows via some sort of GUI, I tried using Gitlist, http://gitlist.org/ , but I'm not sure how to access the localhost of the Ubuntu machine from my Windows machine. 我主要在Windows上工作,我想找到一种通过某种GUI在Windows上查看存储库列表的方法,我尝试使用Gitlist http://gitlist.org/ ,但不确定如何访问Windows计算机上的Ubuntu计算机的本地主机。

Any help is appreciated. 任何帮助表示赞赏。

Emacs can display git logs with their graph structure in text mode. Emacs可以在文本模式下显示git日志及其图形结构。 Just start emacs , type Cx v d , type in the path and hit Enter . 只需启动emacs ,键入Cx v d ,输入路径,然后按Enter In the status buffer, just press l to view the log. 在状态缓冲区中,只需按l即可查看日志。

BTW, if you know no Emacs: use Cx Cc to end Emacs. 顺便说一句,如果您不知道Emacs:请使用Cx Cc结束Emacs。

A generic solution which also can be used for other programs than git viewers might be a X-Server for Windows like MobaXterm . 除了git查看器之外,还可以用于其他程序的通用解决方案可能是Windows的X服务器,例如MobaXterm

With that installed you can start any X program from the ssh shell if X display forwarding is active. 安装了该程序后,如果X显示转发处于活动状态,则可以从ssh shell启动任何X程序。 The X program is then displayed on your Windows screen. X程序随即显示在Windows屏幕上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM