如何在 Solaris 10 上安装 Git?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24628592/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 10:11:44  来源:igfitidea点击:

How to install Git on Solaris 10?

gitsolaris-10

提问by rahulbond.007

My query is regarding installing Git on Solaris 10. uname -agives

我的查询是关于在 Solaris 10 上安装 Git。uname -a给出

bash-3.00# uname -a
SunOS 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Fire-V240

I want to use Solaris server as Git central repository while Windows based users to use the git repository on Solaris server for project activities. What are the steps for installation? What I need to install for users on Windows platform so they can use git?

我想使用 Solaris 服务器作为 Git 中央存储库,而基于 Windows 的用户使用 Solaris 服务器上的 git 存储库进行项目活动。安装步骤是什么?我需要为 Windows 平台上的用户安装什么才能使用 git?

回答by user1108069

On Solaris, you can follow the instruction on opencswor git-scmto install Git. On windows, you can download the install package from official page, but currently, git on Solaris is 2.x, on windows it's 1.x, maybe there're small differences between them, but I don't think it's a big deal.

在 Solaris 上,您可以按照opencswgit-scm上的说明安装 Git。在windows上,你可以从官方页面下载安装包,但目前,Solaris上的git是2.x,在windows上是1.x,也许它们之间有一些小的差异,但我认为这不是什么大问题.

Alternatively, on windows, you can install 3rd party git client, such as Tortoise Gitor SourceTree.

或者,在 Windows 上,您可以安装 3rd 方 git 客户端,例如Tortoise GitSourceTree

Next, Windows-based users need to use the git repository on Solaris, so it's necessary to learn how to build a git server, you can refer to relative chapter in git book.

接下来,Windows 用户需要使用 Solaris 上的 git 存储库,因此需要学习如何搭建 git 服务器,可以参考git book 中的相关章节。