Jay*_*uzi 86 git github-for-windows
使用GitHub for Windows,您可以"发布"分支,然后将该分支"同步"到GitHub.
同步基本上是git pull
和git push
?或者还有更多吗?如果我想从命令行执行与"sync"完全相同的步骤,我该怎么办?
(这不是开源,或者我只是读过它.)
Mat*_*Rix 52
同步git pull --rebase
,然后如果有本地更改,它会git push
.
从这里:http://haacked.com/archive/2012/05/21/introducing-github-for-windows.aspx#87318
red*_*nce 14
"同步"将是使本地分支与远程分支匹配所需的任何操作.如果您的本地分支已提交您的远程分支没有,那么"sync"会推送您的分支.如果远程分支位于您的本地分支之前,那么"sync"将首先拉出(具体来说git pull --rebase
,正如Phil Haack 所解释的那样)."同步"只是让本地和远程镜像互相镜像的捷径.
来自GitHub网站:
The sync button turns the complex workflow of pulling and pushing into a single operation. It notifies you when there are new changes to pull down and lets you quickly share local changes.
归档时间: |
|
查看次数: |
43480 次 |
最近记录: |