Is there a way to make GitHub Desktop rebase a branch against master?

Kushal Dave picture Kushal Dave · May 28, 2016 · Viewed 14.5k times · Source

When I choose "update from master", it creates a merge commit. I'd rather just have it re-base. Is this possible?

Answer

Liam R picture Liam R · Feb 27, 2018

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.


Update:

If you add this to your .gitconfig, GitHub desktop should rebase according to here.

[pull]
    rebase = true

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