Class: Git::Lib

Inherits:
Object
  • Object
show all
Defined in:
lib/git-hooks.rb

Instance Method Summary collapse

Instance Method Details

#stash_pop(_ = nil) ⇒ Object



65
66
67
# File 'lib/git-hooks.rb', line 65

def stash_pop(_ = nil)
  command('stash pop')
end

#stash_save(message) ⇒ Object



69
70
71
# File 'lib/git-hooks.rb', line 69

def stash_save(message)
  command('stash save', ['--keep-index', message])
end