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