Log in Sign up

Git

You can connect your site’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 site seamlessly to another client at any point.

Setting up Git

When you configure your site 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 site is generated from the master branch of your repository. To update your site, 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:

  1. Getting started
  2. Sync folder
  3. Files
  4. Metadata
  5. Sub-folders
  6. Formatting
  7. Set up site
  8. Reference