当我选择从主服务器更新" 时,它将创建一个合并提交.我宁愿重新设定基准.这可能吗?
When I choose "update from master", it creates a merge commit. I'd rather just have it re-base. Is this possible?
推荐答案看来GitHub桌面中当前未包含该功能.我通常要做的是单击左上角下拉菜单中的存储库名称,然后单击在终端中打开".然后只需按照说明此处.
It does not appear that feature is currently included in GitHub desktop. What I normally do is click on the repository name in the drop-down menu in the top left and then click on "open in terminal". Then just follow the instructions here.
如果将其添加到.gitconfig,则GitHub桌面应根据这里.
If you add this to your .gitconfig, GitHub desktop should rebase according to here.
[pull] rebase = true第二次更新:
GitHub桌面2.0现在支持内置的变基!它位于顶部菜单的分支部分下,或者您可以使用快捷方式⇧⌘E
Second Update:
GitHub desktop 2.0 now supports rebasing built in! It is under the branch section of the top menu or you can use the shortcut ⇧⌘E
更多推荐
有没有一种方法可以使GitHub Desktop对master分支建立基础?
发布评论