Sha256: 81404dc780b95a92617869a4d87230f3d20e3a5fa7d2d2d640d186582eab37a9
Contents?: true
Size: 343 Bytes
Versions: 33
Compression:
Stored size: 343 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_git_cmd 'branch', '--set-upstream-to', "origin/#{current_branch.name}" end end end end
Version data entries
33 entries across 33 versions & 1 rubygems