Class: Gitx::Cli::ShareCommand

Inherits:
BaseCommand show all
Defined in:
lib/gitx/cli/share_command.rb

Instance Method Summary collapse

Methods included from Thor::Actions

#ask_editor

Instance Method Details

#shareObject



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