有我自己的服务器的 Mac Os 最好的 Git 客户端是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11103438/
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-10 13:57:46  来源:igfitidea点击:

What is best Git client for Mac Os with my own server?

macosgitgithub

提问by Aleksey Potapov

Well, I tried GitHub for Mac- very useful thing, but I don't want to share my private code with other (sorry folks from github, but there are commercial projects).

好吧,我尝试了GitHub for Mac- 非常有用的东西,但我不想与其他人共享我的私人代码(抱歉来自 github 的人,但有商业项目)。

Also I tried to deal with SourceTree- also, awesome thing, and private Atlassian Bitbucket.

我还尝试处理SourceTree- 还有很棒的东西和私有的 Atlassian Bitbucket。

But I still couldn't find the client, which can support my own server. Is it possible?

但是还是找不到可以支持自己服务器的客户端。是否可以?

回答by wadesworld

Sourcetree certainly supports local git installations, as does Tower.

Sourcetree 当然支持本地 git 安装,就像 Tower 一样。

You're thinking about it wrong. You're thinking that because SourceTree only asks you about entering credentials for BitBucket, GitHub or Kiln that that's the only type of git server you can use. That's incorrect. It has those authentication dialogs for those services because those services provide extra features beyond just git hosting, so a login is required.

你想错了。你在想,因为 SourceTree 只要求你输入 BitBucket、GitHub 或 Kiln 的凭据,这是你可以使用的唯一类型的 git 服务器。那是不正确的。它具有这些服务的身份验证对话框,因为这些服务提供了 git 托管之外的额外功能,因此需要登录。

In the case of a standard shared repository rather than a commercial service, just do File->Newand in the clone repository dialog, enter the URL of the shared repository. If you have already cloned it via the command-line, then click on the "Add working copy" button instead and point SourceTree to where it exists on your disk.

如果是标准共享存储库而不是商业服务,只需执行File->New并在克隆存储库对话框中输入共享存储库的 URL。如果您已经通过命令行克隆了它,则单击“添加工作副本”按钮并将 SourceTree 指向它在磁盘上的位置。

Once you have the repository cloned, you can pull and push from/to the central repository same as you would if you were using the command-line. All this is true with Tower as well.

克隆存储库后,您可以像使用命令行一样从/向中央存储库拉取和推送。所有这一切对于 Tower 也是如此。

回答by Jonathan

Here is a list of the official Git GUI clients

这是官方 Git GUI 客户端的列表

http://git-scm.com/downloads/guis

http://git-scm.com/downloads/guis

回答by cdelacroix

I personally use /usr/bin/git.

我个人使用/usr/bin/git.

If you prefer to use graphical stuff then have a look at GitXor better latest version on https://github.com/gitx/gitx/releases.

如果您更喜欢使用图形内容,请查看https://github.com/gitx/gitx/releases上的GitX或更好的最新版本。

I do not use SourceTree but I would have thought they would support any server - you might want to double-check that.

我不使用 SourceTree,但我原以为它们会支持任何服务器 - 您可能需要仔细检查一下。

回答by squiter

You can try the gitx. But I preferred Terminal.
Source Tree is the most complete GUI app for GIT than I tested.

你可以试试gitx。但我更喜欢终端。
Source Tree 是比我测试过的最完整的 GIT GUI 应用程序。

Looks like the latest version is on https://github.com/gitx/gitx/releases

看起来最新版本在https://github.com/gitx/gitx/releases