远程控制 git 仓库 [英] Controlling git repository remotely

查看:32
本文介绍了远程控制 git 仓库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的本​​地 git 存储库在 Linux 上,在 vmware 上.
我想知道哪个文件被修改了(或者哪个文件是新的),并通过 GUI 工具控制这些事件.

是这样的:

我在使用 TortoiseSVN 之前做过,如果我的存储库和 GUI 工具在同一个操作系统上,这是可行的,但现在我的存储库在 Linux 上,我需要一些 Windows 上的 GUI 工具来控制存储库

PS:我不想在 Windows 上制作存储库的副本,并同步两个存储库.

解决方案

您可以使用任何使用 git 命令行的 GUI(不是 TortoiseGit,而是例如 gitextensions、sourcetree、gitgui&gitk)并使用它而不是真正的Git 一个脚本,它在远程系统上透明地运行每个命令.

https://github.com/ericpruitt/sshfsexec 就是这种方法的一个例子.>

My local git repository is on a Linux, on a vmware.
I want to know which file had been modified (Or which file is new), and controlling these events through GUI-tools.

Something like this:

I did it before using TortoiseSVN, this is working if my repository and GUI-tools be on same OS, but now my repository is on Linux and I need some GUI-tools on my windows to control the repository

PS: I don't want to make a copy of the repository on the windows, and sync both repositories.

解决方案

you could use any GUI which uses git commandline (which is NOT TortoiseGit, but for example gitextensions, sourcetree, gitgui&gitk) and make it use instead of real Git a script which transparently runs each command at the remote system.

https://github.com/ericpruitt/sshfsexec is an example of such approach.

这篇关于远程控制 git 仓库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆