Add a git_stash rule
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
def match(command, settings):
|
||||
return ('git' in command.script
|
||||
and 'Please commit or stash them.' in command.stderr)
|
||||
|
||||
|
||||
def get_new_command(command, settings):
|
||||
return 'git stash && ' + command.script
|
||||
Reference in New Issue
Block a user