Sha256: ab96c34c6cf5aa8ccdc021c852a2bab64a809b8172e94af083a50c0c5dfa3e72

Contents?: true

Size: 401 Bytes

Versions: 13

Compression:

Stored size: 401 Bytes

Contents

#!/usr/bin/env ruby

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

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

13 entries across 13 versions & 1 rubygems

Version Path
socialcast-git-extensions-2.3.11 bin/git-update
socialcast-git-extensions-2.3.10 bin/git-update
socialcast-git-extensions-2.3.9 bin/git-update
socialcast-git-extensions-2.3.8 bin/git-update
socialcast-git-extensions-2.3.7 bin/git-update
socialcast-git-extensions-2.3.6 bin/git-update
socialcast-git-extensions-2.3.5 bin/git-update
socialcast-git-extensions-2.3.4 bin/git-update
socialcast-git-extensions-2.3.3 bin/git-update
socialcast-git-extensions-2.3.2 bin/git-update
socialcast-git-extensions-2.3.1 bin/git-update
socialcast-git-extensions-2.3.0 bin/git-update
socialcast-git-extensions-2.2.13 bin/git-update