git - GitHub for Windows 的 "sync"有什么作用?

标签 git github-for-windows

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

enter image description here

同步基本上是 git pullgit push 吗?或者还有更多吗?如果我想从命令行执行与“同步”完全相同的步骤,我应该怎么做?

(它不是开源的,或者我刚刚读过它。)

最佳答案

Sync 执行 git pull --rebase,然后如果有本地更改,它执行 git push

来自这里:http://haacked.com/archive/2012/05/21/introducing-github-for-windows.aspx#87318

关于git - GitHub for Windows 的 "sync"有什么作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12104513/

相关文章:

git - macos git autocomplete 显示删除的分支

windows - 使用 Github for Windows 通过 SSH 使用自己的私有(private) Git

clickonce - 安装适用于 Windows 的 Github 时出现 System.Runtime.InteropServices.COMException

linux - 致命: destination path '/var/cpanel/easy/apache/custom_opt_mods/Cpanel already exists and is not an empty directory

asp.net - git 版本号 C#

Git PowerShell Cmdlet 将 git 信息作为对象返回

git - 使用 GitHub for Windows 从 pagodabox 克隆应用程序

Git重置具有特定扩展名的所有文件

git - Windows Git 错误 403 - 无法推送

git - 如何将项目特定信息添加到 Git 提交注释中?