Class: Git::Lib

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

Instance Method Summary collapse

Instance Method Details

#forcepush(remote, branch) ⇒ Object



23
24
25
# File 'lib/github_helper/git.rb', line 23

def forcepush(remote, branch)
  command('push -f', [remote, branch])
end