Sha256: 309f29cf56973d502aa68191a9ffc65b643ad70256c16e6017831e7035fca476

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

#!/usr/bin/env ruby

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

head_branch = ARGV.first || 'last_known_good_stging'
reset_branch('staging', head_branch)
reset_branch('last_known_good_staging', head_branch)

is_quiet = ARGV.delete("--quiet") || ARGV.delete("-q")
run_cmd "socialcast share '#worklog resetting staging branch #scgitx'" unless is_quiet

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
socialcast-git-extensions-2.1.2 bin/git-reset-staging
socialcast-git-extensions-2.1.1 bin/git-reset-staging