git Windows 客户端的 GitHub 中的 pull/push 命令在哪里?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19139209/
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
Where are the pull/push commands in GitHub for Windows client?
提问by Andreas Norman
I've been using GitHub for Mac for a while and was about to help a colleague install it on Windows.
我已经使用 GitHub for Mac 一段时间了,正准备帮助一位同事在 Windows 上安装它。
I cannot find any menu or any button to initiate "push" or "pull" as I can on Mac. Only way I see it is to open a shell and execute git pull
.
我在 Mac 上找不到任何菜单或任何按钮来启动“推”或“拉”。我看到它的唯一方法是打开一个 shell 并执行git pull
.
But then, what's the point of the UI?
但是,UI 的重点是什么?
What solved my problem?
什么解决了我的问题?
I switched to using SourceTree (http://www.sourcetreeapp.com) instead. It solved all my issues :)
我改用 SourceTree ( http://www.sourcetreeapp.com) 代替。它解决了我所有的问题:)
回答by random
It's in the top right of the app.
它位于应用程序的右上角。
For most cases you'll want to hit the sync buttonwhich will both push and pullfor you.
You can also hit F5to manually trigger it.
您也可以点击F5手动触发它。
When you have a new local branch, the syncbutton will change into publishready for you to push up to remote.
当你有一个新的本地分支时,同步按钮会变成发布准备好让你推送到远程。
If something goes wrong it will prompt you with a need to go into shell and work things from there.
如果出现问题,它会提示您需要进入 shell 并从那里开始工作。