使用Github for Windows通过SSH使用自己的私人Git [英] Using Github for Windows to work with own private Git through SSH

查看:98
本文介绍了使用Github for Windows通过SSH使用自己的私人Git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,我使用msysgit与使用SSH存储在ec2 Amazon Cloud Server上的私有存储库协作。

能够通过Git Bash(使用ssh-keygen创建ssh-rsa公钥和私钥,将公钥添加到远程机器上的authorized_servers)成功连接到这些存储库,这样我就可以克隆,推,拉,通过CLI。



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



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



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

解决方案

以下是您正在查找的内容的完美写作。 $ b

编辑:我刚刚测试过以下步骤,它的功能就像魅力一样!

  1.单击左侧的存储库。 
2.使用git-shell
将您的repo副本从远程文件中拖出3.将文件夹拖放到Git hub for windows仪表板。
4.现在双击放入githubW的存储库。它应该被列为本地存储库。
5.它说登录需要你的非github远程!



积分



出于一些奇怪的原因,GutHub没有做到直接使用非GitHub遥控器。 (正如你所说,他们说他们支持非github遥控器虽然!!)


Right now, I'm using msysgit to work with my own private repositories stored on a ec2 Amazon Cloud Server using SSH.

Until now, I've been able to successfully connect to those repositories through Git Bash (creating the ssh-rsa public and private key with ssh-keygen, adding the public key to the authorized_servers on the remote machine), so I can clone, push, pull, get through the CLI.

Now, I've seen Github for Windows, and I gotta say, it is a beautiful piece of software. Since it is based on msysgit, I was wondering that if it is possible to setup Github for Windows to connect, clone and push commits through the UI?

In the description it looks like possible, but the documentation seems to lacks information about what the software is capable to do.

Hope you can help me out here, cheers from Mexico.

解决方案

Here is a nice write up of what you are exactly looking for.

Edit: I just tested with the following steps and it works like charm!!

   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!

Credits

For some wierd reason, GutHub didn't make it straightforward to use non-GitHub Remotes. (As you said, they say that they support non-github remotes though!!)

这篇关于使用Github for Windows通过SSH使用自己的私人Git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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