Class: Crusoe::Commands::Git::Checkout

Inherits:
GitCommand
  • Object
show all
Defined in:
lib/crusoe/commands/git/checkout.rb

Constant Summary collapse

MAIN_GIT_BRANCH =
"main".freeze

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



11
12
13
# File 'lib/crusoe/commands/git/checkout.rb', line 11

def main
  git_client.checkout(MAIN_GIT_BRANCH)
end