Sha256: c205d06d4422bb6bf86985d965e692cfab3e7b9d98f86a85e54689e4bedcf8a5
Contents?: true
Size: 398 Bytes
Versions: 45
Compression:
Stored size: 398 Bytes
Contents
require 'thor' require 'thegarage/gitx' require 'thegarage/gitx/cli/base_command' module Thegarage module Gitx module Cli class TrackCommand < BaseCommand desc 'track', 'set the current branch to track the remote branch with the same name' def track run_cmd "git branch --set-upstream-to origin/#{current_branch.name}" end end end end end
Version data entries
45 entries across 45 versions & 1 rubygems