什么GitHub for Windows'“同步”做? [英] What does GitHub for Windows' "sync" do?

查看:89
本文介绍了什么GitHub for Windows'“同步”做?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用GitHub for Windows,您可以发布一个分支,然后将该分支同步到GitHub。 $ b


同步基本上是 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆