Class: Gitx::Cli::ShareCommand
- Inherits:
-
BaseCommand
- Object
- Thor
- BaseCommand
- Gitx::Cli::ShareCommand
- Defined in:
- lib/gitx/cli/share_command.rb
Instance Method Summary collapse
Methods included from Thor::Actions
Instance Method Details
#share ⇒ Object
9 10 11 12 |
# File 'lib/gitx/cli/share_command.rb', line 9 def share run_git_cmd 'push', 'origin', current_branch.name run_git_cmd 'track' end |