git 使用 TortoiseGit 推送到远程 URL
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/959365/
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
Push to Remote URL with TortoiseGit
提问by pek
I have installed the latest MSysGit 1.6.3preview and TortoiseGit 0.6.2on my Windows XP PC. I also have created a --bare repository on my server which can be access through http (using WebDAV as authentication system).
我已经在我的 Windows XP PC 上安装了最新的MSysGit 1.6.3预览版和TortoiseGit 0.6.2。我还在我的服务器上创建了一个 --bare 存储库,它可以通过 http 访问(使用 WebDAV 作为身份验证系统)。
I can successfully log into my server's git repository from a browser. I have created a local repository on my PC and the initial commit.
我可以从浏览器成功登录到我服务器的 git 存储库。我已经在我的 PC 和初始提交上创建了一个本地存储库。
I have looked everyone and I still cannot find how to add a remote URL to TortoiseGit and push my local repository to that address.
我已经看过所有人,但仍然找不到如何将远程 URL 添加到 TortoiseGit 并将我的本地存储库推送到该地址。
Any ideas?
有任何想法吗?
Thank you.
谢谢你。
回答by David Schmitt
In the context menu, select "TortoiseGIT" -> "Push ...". Right of the "Remotes" entry there is a "Manage" button. There, choose "Git" -> "Remotes" in the tree. There you can input Remote URLs.
在上下文菜单中,选择“TortoiseGIT”->“Push ...”。“远程”条目的右侧有一个“管理”按钮。在那里,在树中选择“Git”->“Remotes”。您可以在那里输入远程 URL。