Walkthrough for Self-Published Authors: How To Write and Publish A Book Using Leanpub’s Git and Bitbucket Writing Mode

Use Leanpub to Write a Book and Create Ebook Files Using Git and Bitbucket

Getting Started

Creating Your Book’s Bitbucket Repository

Cloning Your Book’s Repository Onto Your Computer

Creating a Book in Bitbucket Writing Mode

Verifying Your Email Address

Getting Started

Adding Leanpub As A Collaborator on Your Book’s Bitbucket Repository

Adding Default Content to Your Bitbucket Repository

Creating a Preview

Writing in Your Book

How Book.txt Works

Writing In Your Book

Renaming a File and Updating Book.txt

Deleting a File and Creating a New File

Adding an Image to Your Book

![Marmalade and Tangerine](marm-and-tangie.jpg)

Committing and Pushing Your Changes

Creating a New Preview of Your Book

Creating a Sample Book

Publishing Your Ebook

Writing Your Book Description

Adding a Book Cover Image

Creating a Book Cover Image

Uploading Your Book Cover Image

Pricing Your Book

Setting Up Your Author Profile

Publishing Your Book on the Leanpub Bookstore

Updating Your Book

Next Steps

--

--

Leanpub is the best way in the world to write, publish, and sell ebooks. Publish in-progress, serial and complete ebooks in PDF, EPUB and MOBI.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Leanpub

Leanpub is the best way in the world to write, publish, and sell ebooks. Publish in-progress, serial and complete ebooks in PDF, EPUB and MOBI.