Class: Thegarage::Gitx::Cli::TrackCommand
- Inherits:
-
BaseCommand
- Object
- Thor
- BaseCommand
- Thegarage::Gitx::Cli::TrackCommand
- Defined in:
- lib/thegarage/gitx/cli/track_command.rb
Instance Method Summary collapse
Methods inherited from BaseCommand
Methods included from Thor::Actions
Constructor Details
This class inherits a constructor from Thegarage::Gitx::Cli::BaseCommand
Instance Method Details
#track ⇒ Object
10 11 12 |
# File 'lib/thegarage/gitx/cli/track_command.rb', line 10 def track run_cmd "git branch --set-upstream-to origin/#{current_branch.name}" end |