我将我的 git 存储库托管在使用Gitolite的服务器上。我可以像这样使用 SSH 访问它们,它可以在 Mac OS X/Linux 上运行:
git clone git@example.net
Run Code Online (Sandbox Code Playgroud)
在 Windows 8 Box 上,我现在已经安装了GitHub for Windows (GH4W) 来访问这些 Repos。我已经设置了 SSH 密钥,一切都可以从 Git-Shell (Powershell) 运行:
C:\Users\joni\Documents\GitHub> git clone git@example.net:testing
Cloning into 'testing'...
Warning: Permanently added 'example.net,13.37.42.42' (RSA) to the list of known hosts.
remote: Counting objects: 114, done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 114 (delta 29), reused 0 (delta 0)
Receiving objects: 100% (114/114), 9.72 KiB, done.
Resolving deltas: 100% (29/29), done. …Run Code Online (Sandbox Code Playgroud)