Method: Grancher#push
- Defined in:
- lib/grancher.rb
#push ⇒ Object
Pushes the branch to the remote.
150 151 152 153 154 155 156 |
# File 'lib/grancher.rb', line 150 def push if .empty? gash.send(:git, 'push', @push_to, @refspec) else gash.send(:git, 'push', '--tags', @push_to, @refspec) end end |