Git AWS CodeCommit 的 GUI

Git GUI for AWS CodeCommit

有什么好的 GUI 可以与 AWS CodeCommit(亚马逊的新 Git 服务)一起使用吗?

我试过 SmathGit 和 GitHub for windows。

虽然 AWS CodeCommit supports the common Git connection protocols HTTPS and SSH, the details can be slightly peculiar and Setting Up for AWS CodeCommit 会有所不同,具体取决于您在连接到 AWS CodeCommit 存储库时要使用的连接协议,以及您使用的操作系统 ,与往常一样:

If you have not yet created any AWS CodeCommit repositories, [...] then the following list can help you decide which type of connection to set up for.

  • HTTPS: With HTTPS connections, you allow Git to use a cryptographically signed version of your IAM user credentials or Amazon EC2 instance role whenever Git needs to authenticate with AWS in order to interact with repositories in AWS CodeCommit. To do this, you configure a credential helper for Git on your local machine. A credential helper is included in the AWS CLI on Linux, OS X, or Unix, and included as part of the AWS AWS SDK for .NET for Windows operating systems. [...]

  • SSH: With SSH connections, you create public and private key files on your local machine that Git and AWS CodeCommit use for SSH authentication. You associate the public key with your IAM user. You store the private key on your local machine. Because SSH requires manual creation and management of public and private key files, you might find HTTPS simpler and easier to use with AWS CodeCommit.

[emphasis mine]

这两个强调的片段突出了与大多数其他托管 Git 提供商(例如 Bitbucket or GitHub.

使用任一连接协议的微小但相关的差异

与 AWS 的推荐相比,我个人认为 setting up the mentioned credentials helper for HTTPS more involved than simply adding your public SSH key(s) to your AWS IAM user (step 5.),毕竟我到处都在使用它们 Git - 这取决于您的习惯当然还有个人喜好。

  • 在 Windows 上使用 SSH(例如使用 SourceTree,见下文)需要注意的重要方面是您需要将 SSH 密钥 ID 嵌入到克隆 URL 中:
    git clone ssh://Your-SSH-Key-ID@git-codecommit.us-east-1.amazonaws.com/v1/repos/MyDemoRepo my-demo-repo

通用 GUI 客户端

open/generic Git 支持 SSH 的任何足够 open/generic 客户端应该能够依次使用 AWS CodeCommit(无论客户端是基于 GUI 还是基于 CLI),尽管可用性和多功能性各不相同。

流行的 GUI 客户端很好地支持 Bitbucket、GitHub 和大多数其他 public Git 提供商,包括 AWS CodeCommit 是 Atlassian 的 免费 Git & Windows 或 MacSourceTree.

的 Mercurial 客户端
  • 请注意,与 SourceTree 相比,GitHub Desktop 目前似乎不支持直接连接到除 GitHub 本身以外的任何 Git 提供商(至少看起来可以添加以前通过其他客户端克隆的任何本地存储库。