Repo of my selection of Sketch Plugins
JavaScript Objective-C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Automate-Sketch @ 5a1e6c4
Fontily @ 2964ff9
RenameIt @ 77f11ba
Runner.sketchplugin/Contents
Sketch-Color-Contrast-Analyser @ a904492
Sketch-Find-And-Replace @ 1387192
Sketch-SF-UI-Font-Fixer @ c070f90
TinyFaces-Sketch-Plugin @ 6cc0128
chromatic-sketch @ 877845a
paddy-sketch-plugin @ fd9cb17
shared-text-styles @ 815d96a
sketch-palettes @ 5fdd01e
sketch-styles-generator @ 2078305
symbol-instance-renamer @ cd90ed9
symbol-organizer @ 99fb978
.gitignore
.gitmodules
README.md

README.md

Sync Sketch Plugins across multiple computers

This repository works thanks to Git Submodules System. It allows to create a meta-repository of small repositories and keep everything up to date without hasle.

Set up is simple:

go to Sketch.app's application support folder

cd ~/Library/Application\ Support/com.bohemiancoding.sketch3/

move the Plugins folder to an easier to access spot I recommend ~/Sketch-Plugins/

mv Plugins/ ~/path/to/new-folder

create a symlink so Sketch.app can find the new folder

ln -s ~/path/to/new-folder Plugins

Adding Plugins is simple

You can just add the plugins files, like you would do to manually add a plugin. or You can add another Sketch Plugin repo with :

git submodule add "sketch plugin url"

Removing Plugins is dead boring

To remove a submodule you need to:

- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule
- Commit git commit -m "Removed submodule <name>"
- Delete the now untracked submodule files
- rm -rf path_to_submodule

Syncing is simple

 git add .
 git commit -am 'added new plugin'
 git push

on a different computer

git clone --recursive https://github.com/edenpulse/sketch-plugins-submodules.git

Update all plugins

git submodule foreach git pull origin master

That's all ! Enjoy !