Class: Gitx::Cli::TrackCommand
- Inherits:
-
BaseCommand
- Object
- Thor
- BaseCommand
- Gitx::Cli::TrackCommand
- Defined in:
- lib/gitx/cli/track_command.rb
Instance Method Summary collapse
Methods included from Thor::Actions
Instance Method Details
#track ⇒ Object
9 10 11 |
# File 'lib/gitx/cli/track_command.rb', line 9 def track run_git_cmd 'branch', '--set-upstream-to', "origin/#{current_branch.name}" end |