Class: Git::Lib

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

Instance Method Summary collapse

Instance Method Details

#stash_drop(id = nil) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/roku_builder/git.rb', line 20

def stash_drop(id = nil)
  if id
    command('stash drop', [id])
  else
    command('stash drop')
  end
end

#stash_pop(id = nil) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/roku_builder/git.rb', line 13

def stash_pop(id = nil)
  if id
    command('stash pop', [id])
  else
    command('stash pop')
  end
end