Sha256: 201f0e70670801a4146470a5224caa369a36361fc362e6b36bf5d5bc7f3c3fa8
Contents?: true
Size: 341 Bytes
Versions: 4
Compression:
Stored size: 341 Bytes
Contents
require 'colorize' require_relative 'switch' module GGSM module Sync include Switch def sync_flow check_submodule result = system 'git pull' unless result return end current_branch = `git branch | grep "*"`.split("* ")[1].split("\n")[0] switch_flow(current_branch) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ggsm-1.2.0 | lib/ggsm/flow/sync.rb |
ggsm-1.1.2 | lib/ggsm/flow/sync.rb |
ggsm-1.1.1 | lib/ggsm/flow/sync.rb |
ggsm-1.1.0 | lib/ggsm/flow/sync.rb |