Blot
Contents

Git

You can connect your site’s folder to Blot with Git, a version-control system for tracking file changes and collaborating with others. You can switch your site to another sync method at any time.

Setting up Git

When you configure your site with git on the dashboard, Blot will provide a repository URL to clone, plus 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 few Git clients for phones and tablets. A common option is Working Copy.

Limits

Pushes are subject to a 1.9 GB limit, and a single push can take up to 1 hour to upload. A push is canceled if your connection stalls for more than 1 minute, and a pull if no data is received within 3 minutes. Downloads are throttled to 10 MB/s after the first 100 MB of a clone or fetch.

Using an existing Git repository

You can use an existing Git repository. 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 already use GitHub, you can add Blot’s endpoint:

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

If you already use Blot as your remote, you can add GitHub’s endpoint:

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

The next time you push, use the force flag so the changes are accepted by both Blot and GitHub:

git push --force

Files that are not synced

Blot automatically filters system files, temporary files and other items that shouldn’t be synced to keep your site clean. This includes hidden files and folders, version control directories, editor backup files and operating system artifacts.

View complete list of files and patterns that are not synced
Pattern/Name Category Description
.ds_store macOS system Finder metadata file
.fseventsd macOS system File system events directory
.spotlight-v100 macOS system Spotlight search index
.trashes macOS system Trash folder metadata
.temporaryitems macOS system Temporary items folder
thumbs.db Windows system Thumbnail cache file
desktop.ini Windows system Folder customization file
$recycle.bin Windows system Recycle bin folder
.trash Linux system Trash folder
.git Version control Git repository directory
.svn Version control Subversion repository directory
.kate-swp Editor/IDE Kate editor swap file
.swp Editor/IDE Vim swap file (suffix)
.swo Editor/IDE Vim swap file (suffix)
.dropbox Cloud sync Dropbox metadata folder
.dropbox.attr Cloud sync Dropbox attributes file
.dropbox.cache Cloud sync Dropbox cache folder
.sync Cloud sync Sync service folder
.syncignore Cloud sync Sync ignore configuration
.tmp.driveupload Cloud sync Google Drive upload temp file
.synologyworkingdirectory Cloud sync Synology sync folder
.tmp File suffix Any file ending with .tmp
~ File suffix Any file ending with ~ (backup files)
.orig File suffix Any file ending with .orig (backup files)
.rej File suffix Any file ending with .rej (rejected patch files)
~$ File prefix Any file starting with ~$ (Office temporary files)
.# File prefix Any file starting with .# (Emacs lockfiles)
._ File prefix Any file starting with ._ (AppleDouble files)
.trash- File prefix Any file starting with .trash- (macOS trash variants)
Icon\r Special case Files named Icon\r or starting with Icon\r (macOS Icon files with carriage return)

Switching sync method

You can switch from Git to another sync method at any time: