sketchtool 内置在 sketch 中,执行 Sketch.app/Contents/Resources/sketchtool/install.sh 来安装它。
参考官方文档。
diff
git diff 默认对 sketch 文档比较的是二进制,通过设置 .gitattributes 文件,可以比较源码。
输入 *.sketch diff=sketchtool。
也可以编辑 ~/.gitattributes 进行全局设置。
sketchtool 内置在 sketch 中,执行 Sketch.app/Contents/Resources/sketchtool/install.sh 来安装它。
参考官方文档。
git diff 默认对 sketch 文档比较的是二进制,通过设置 .gitattributes 文件,可以比较源码。
输入 *.sketch diff=sketchtool。
也可以编辑 ~/.gitattributes 进行全局设置。