diff --git a/src/gitWorkflow.js b/src/gitWorkflow.js index 6464b7b44..cf830885f 100644 --- a/src/gitWorkflow.js +++ b/src/gitWorkflow.js @@ -7,7 +7,7 @@ const execGit = require('./execGit') async function saveStagedFiles(options) { debug('Saving modified files...') // Stash changed changes - await execGit(['stash', 'push', '-m temporary lint-staged stash'], options) + await execGit(['stash', 'save', 'temporary lint-staged stash'], options) // Restore changed files back await execGit(['stash', 'apply', '--index'], options)