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-1.5.4 bin/git-update
socialcast-git-extensions-1.5.3 bin/git-update
socialcast-git-extensions-1.5.2 bin/git-update
socialcast-git-extensions-1.5.1 bin/git-update
socialcast-git-extensions-1.5.0 bin/git-update
socialcast-git-extensions-1.4.1 bin/git-update
socialcast-git-extensions-1.4.0 bin/git-update