Sha256: 9e8d9bbe5b680a266b41786951e48c8c289a0c9e99270ab507a4387c9249feeb

Contents?: true

Size: 415 Bytes

Versions: 3

Compression:

Stored size: 415 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_staging'
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

3 entries across 3 versions & 1 rubygems

Version Path
socialcast-git-extensions-2.2.1 bin/git-reset-staging
socialcast-git-extensions-2.2.0 bin/git-reset-staging
socialcast-git-extensions-2.1.3 bin/git-reset-staging