Skip to main content
All CollectionsAuthor HelpDropbox, GitHub and Bitbucket Syncing
How do I switch the Git branch that I am using with GitHub?
How do I switch the Git branch that I am using with GitHub?

I recently renamed the branch that I'm using to write in. How do I make Leanpub look for the new Git branch name?

Leanpub Support avatar
Written by Leanpub Support
Updated over a week ago

To make this change, you go to Settings > Writing Mode. Here is an article about the Writing Mode page:

Here, you can choose which branch you use to preview, and which branch you use to publish. These can be the same branch or different branches, and they can be named any legal Git branch name.

Did this answer your question?