class Thegarage::Gitx::Cli::ShareCommand

Public Instance Methods

share() click to toggle source
# File lib/thegarage/gitx/cli/share_command.rb, line 10
def share
  run_cmd "git push origin #{current_branch.name}"
  run_cmd "git branch --set-upstream-to origin/#{current_branch.name}"
end