Git客户端和服务器版本之间的对应关系 [英] Correspondece between Git client and server versions

查看:439
本文介绍了Git客户端和服务器版本之间的对应关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始使用Git,我已经阅读了关于如何使用它的文档,只是为了测试我使用GitHub创建了一个简单的存储库,一切都很好,但如果我想使用我自己的服务器(不使用GitHub ),这只是好奇心,有没有关于Git客户端和服务器之间版本对应关系的表或列表?换句话说,我可以在较新的客户端上使用较旧的服务器,反之亦然?我搜索了几页,但我找不到这个确切的信息,有人可以知道这个问题的答案吗?



感谢您的帮助。

解决方案

git 包没有分隔成服务器和客户端会在你的远程机器上运行与本地相同的 git 。要回答你的问题:Git是非常向后兼容的,这意味着你可以在一台机器上运行旧版本,在另一台机器上运行新版本,并且应该能够在没有任何问题的情况下推/拉!



玩得开心, git 是一个奇妙的工具。


I'm starting with Git, I already read the documentation about how to use it, just to test I create a simple repository using GitHub, everything is working good, but if I want to use my own server (not using GitHub), this is just curiosity, is there a table or list about the version correspondence between the Git client and server? in other words can I use an older server on a newer client or vice versa? I searched on several pages but I can't find this exact info, could anybody know the answer of this question?

Thanks for the help.

解决方案

The git package is not separated into a "server" and a "client", you would run the same git on your remote machine as the local one. To answer your questions: Git is extremely backwards compatible, meaning you can run an old version on one machine and a new version on the other and should be able to push/pull without any issues!

Have fun, git is a wonderful tool.

这篇关于Git客户端和服务器版本之间的对应关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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