Sha256: ea5696b4dc717be0f0a85e3f778e27ef9699ca6a80bc26b8752257f0f46424f1
Contents?: true
Size: 337 Bytes
Versions: 46
Compression:
Stored size: 337 Bytes
Contents
require 'thor' require 'gitx' require 'gitx/cli/base_command' 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
Version data entries
46 entries across 46 versions & 1 rubygems