什么GitHub for Windows'“同步”做? [英] What does GitHub for Windows' "sync" do?
问题描述
同步基本上是 git pull
和 git push
?或者还有更多吗?如果我想从命令行执行与同步完全相同的步骤,我应该怎么做?
(这不是开源的,或者我刚读过)
同步不会执行 git pull --rebase
然后如果有本地更改,它会执行 git push
。
从这里开始:http://haacked.com/archive/2012/05/21/introducing-github-for-windows。 aspx#87318
With GitHub for Windows, you can "publish" a branch, and then "sync" that branch to GitHub.
Is the sync basically a git pull
and git push
? Or is there more to it? If I wanted to do the exact same steps as "sync" from the command line, what should I do?
(It's not Open Source, or I'd just read that.)
Sync does git pull --rebase
and then if there are local changes, it does git push
.
From here: http://haacked.com/archive/2012/05/21/introducing-github-for-windows.aspx#87318
这篇关于什么GitHub for Windows'“同步”做?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!