mathieudutour / git-sketch-plugin

:gem::octocat: A Git client generating pretty diffs built right into Sketch.
https://mathieudutour.github.io/git-sketch-plugin
MIT License
2.45k stars 126 forks source link

Commit failed #240

Closed Abbey-ghsoft closed 3 years ago

Abbey-ghsoft commented 3 years ago

How did it happen?

  1. after file save -> commit

Error log

Failed to run: 

{
    "pid": "31567",
    "status": 1,
    "stdout": "On branch master\nYour branch is up to date with 'origin/master'.\n\nnothing to commit, working tree clean\n",
    "stderr": ""
}

/Users/abbey-ghsoft/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:18596
/Users/abbey-ghsoft/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:23893
u@/Users/abbey-ghsoft/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:30769
/Users/abbey-ghsoft/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:35893
/Users/abbey-ghsoft/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:35374
/Users/abbey-ghsoft/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:35407
__skpm_run@/Users/abbey-ghsoft/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Git.sketchplugin/Contents/Sketch/__commands_Commit.js:1:36220
__skpm_run@[native code]
mathieudutour commented 3 years ago

You didn't add any file to git