Module: GGSM::Sync
Instance Method Summary collapse
Methods included from Switch
Methods included from Stash
Methods included from Submodule
#check_submodule, #check_submodule_status, #check_un_commit_code, #correct_dir, #foreach_module, #get_current_branch, #get_head_commit, #get_lastest_msg, #get_lastest_msg_not_merge, #get_lastest_msg_of_module, #get_modified_submodule, #get_submodule, #get_submodule_commit, #is_submodule, #tip_contact_author
Methods included from Hooks
#check_hooks, #cp_files, #cp_hooks, #install_billow, #update_hooks
Instance Method Details
#sync_flow ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/ggsm/command/sync.rb', line 8 def sync_flow check_submodule result = system 'git pull' unless result return end switch_flow(get_current_branch, true) end |