Class: Git::Base
- Inherits:
-
Object
- Object
- Git::Base
- Defined in:
- lib/github_helper/git.rb
Overview
The git gem doesn’t include a way to force push, let’s implement it !
Instance Method Summary collapse
Instance Method Details
#forcepush(remote = 'origin', branch = 'master') ⇒ Object
16 17 18 |
# File 'lib/github_helper/git.rb', line 16 def forcepush(remote = 'origin', branch = 'master') self.lib.forcepush(remote, branch) end |