Log in Sign up

Git

You can synchronize your blog’s folder to Blot with Git, a version-control system for tracking changes in computer files and coordinating work on those files among multiple people. You can switch your blog seamlessly to another client at any point.

Setting up Git

When you configure your blog with the git client on the dashboard, Blot will provide a repository URL to clone, along with a username and password.

git clone https://blot.im/url-to-your-repository.git

Your blog is generated from the master branch of your repository. To update your blog, commit your changes and push.

Using your phone or tablet

There are a handful of Git clients for phones and tablets. I’ve heard from a number of customers who use Working Copy.

Using an existing Git repository

You can use an existing Git repostory. Set its remote URL to Blot’s repository endpoint:

git remote set-url origin https://blot.im/url-to-yours.git

The next time you push, you will need to use the force flag:

git push --force

Sharing your folder on GitHub

Git supports multiple remote URLs. This means you can use the same repository on Blot and GitHub. If you have an existing repository on GitHub, you can add Blot’s endpoint:

git remote set-url --add --push origin https://blot.im/your-repo.git

Or if you have an existing repository on Blot, you can add GitHub’s endpoint:

git remote set-url --add --push origin https://github.com/your-repo.git

The next time you push, you will need to use the force flag to ensure the changes go through on both Blot and GitHub:

git push --force

Switching client

You can switch seamlessly from Git to another client at any point:

Question or feedback?
Contact us
On this page