Sha256: 06acb9776946e169955b5068bd1fce52650d3831fdb10a2b59cec29466250a64

Contents?: true

Size: 396 Bytes

Versions: 27

Compression:

Stored size: 396 Bytes

Contents

#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb')
include Socialcast

branch = current_branch

HighLine.say "updating <%= color('#{branch}', :green) %> to have most recent changes from master"
run_cmd "git pull origin #{branch}" rescue nil
run_cmd 'git pull origin master'
run_cmd 'git push origin HEAD'
run_cmd 'git remote prune origin'

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
socialcast-git-extensions-2.2.1 bin/git-update
socialcast-git-extensions-2.2.0 bin/git-update
socialcast-git-extensions-2.1.3 bin/git-update
socialcast-git-extensions-2.1.2 bin/git-update
socialcast-git-extensions-2.1.1 bin/git-update
socialcast-git-extensions-2.1.0 bin/git-update
socialcast-git-extensions-2.0.8 bin/git-update
socialcast-git-extensions-2.0.7 bin/git-update
socialcast-git-extensions-2.0.6 bin/git-update
socialcast-git-extensions-2.0.5 bin/git-update
socialcast-git-extensions-2.0.4 bin/git-update
socialcast-git-extensions-2.0.3 bin/git-update
socialcast-git-extensions-2.0.2 bin/git-update
socialcast-git-extensions-2.0.1 bin/git-update
socialcast-git-extensions-2.0.0 bin/git-update
socialcast-git-extensions-2.0.0.beta4 bin/git-update
socialcast-git-extensions-2.0.0.beta3 bin/git-update
socialcast-git-extensions-2.0.0.beta2 bin/git-update
socialcast-git-extensions-2.0.0.beta1 bin/git-update
socialcast-git-extensions-1.5.5 bin/git-update