Class: Crusoe::Commands::Git::Push

Inherits:
RemoteGitCommand show all
Defined in:
lib/crusoe/commands/git/push.rb

Constant Summary

Constants inherited from RemoteGitCommand

RemoteGitCommand::REMOTE_NAME

Constants inherited from GitCommand

GitCommand::MAIN_GIT_BRANCH

Instance Attribute Summary

Attributes inherited from GitCommand

#directory

Instance Method Summary collapse

Methods inherited from GitCommand

#initialize

Constructor Details

This class inherits a constructor from Crusoe::Commands::Git::GitCommand

Instance Method Details

#mainObject



6
7
8
# File 'lib/crusoe/commands/git/push.rb', line 6

def main
  git_client.push(remote_origin, MAIN_GIT_BRANCH)
end