/sketch-git-hooks

Easy trick how to enjoy Git versioning for Sketch files thanks to Git Hooks

Primary LanguageShellMIT LicenseMIT

Simple Git versioning for Sketch

Read more in the story on Medium.

Any feedback or even a pull request welcomed!

How to

  1. Set up a new repository for Sketch files
  2. Install Python 3 (optional)
  3. Download the pre-commit, post-merge and post-checkout hooks from this repository
  4. Copy them into .git/hooks folder in your repository
  5. Make the scripts executable: run chmod +x .git/hooks/pre-commit .git/hooks/post-merge .git/hooks/post-checkout in your repository
  6. And try to commit some Sketch files!