windows - 使用 Github for Windows 通过 SSH 使用自己的私有(private) Git

标签 windows git github ssh github-for-windows

现在,我正在使用 msysgit 处理我自己的私有(private)存储库,该存储库使用 SSH 存储在 ec2 亚马逊云服务器上。

到目前为止,我已经能够通过 Git Bash 成功连接到这些存储库(使用 ssh-keygen 创建 ssh-rsa 公钥和私钥,将公钥添加到远程计算机上的 authorized_servers),所以我可以通过 CLI 克隆、推送、 pull 。

现在,我看到了 Windows 版 Github,我不得不说,它是一款非常漂亮的软件。由于它基于 msysgit,我想知道是否可以设置 Github for Windows 以通过 UI 连接、克隆和推送提交?

在描述中它看起来是可行的,但文档似乎缺少有关该软件能够做什么的信息。

希望你能在这里帮助我,来自墨西哥的欢呼。

最佳答案

这是一篇很好的文章,描述了您正在寻找的内容。

编辑:我刚刚通过以下步骤进行了测试,效果非常好!!

   1. Click on repositories on the left.
   2. Pull your copy of the repo from the remote , using git-shell
   3. Drag and drop the Folder on to Git hub for windows dashboard.
   4. now double click on the repository dropped on to githubW. It should be listed as a local repository.
   5. it says login required to your non-github remote!

enter image description here

Credits

出于某些奇怪的原因,GutHub 并没有直接使用非 GitHub Remote 。 (正如你所说,they say that they support non-github remotes 虽然!!)

关于windows - 使用 Github for Windows 通过 SSH 使用自己的私有(private) Git,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11165458/

相关文章:

Git pre commit 和 pre push hook for sonar runner

推送提交的 git 分支更改到另一个分支

当在 Windows 10 上点击 `Ctrl + C` 按钮时,Python 代码显示在屏幕上。如何隐藏它?

windows - 并行运行 Git GUI 和 Tortoise GUI

java - log4j2 输出未写入日志文件

linux - 我可以在共享主机服务器上安装 git 吗?

git - 为什么裸存储库有 HEAD

windows - 我不小心将我的 git 编辑器设置为 Atom,如何将其恢复为 Git Bash?

git - 该分支不在上游主控之前

c++ - WinHttpSetOption() 设置 TLSv1.2 失败,错误代码为 ERROR_INTERNET_INCORRECT_HANDLE_TYPE