updates: updated start

This commit is contained in:
rkiel
2019-01-30 21:37:53 -05:00
parent d5ee0ecc4d
commit bfaf1a457f
2 changed files with 8 additions and 4 deletions

View File

@@ -21,11 +21,11 @@ module Feature
error "invalid feature branch: #{feature_name}" if standard_branches.include? feature_name error "invalid feature branch: #{feature_name}" if standard_branches.include? feature_name
git_fetch git_fetch
git_pull current_branch git_merge ['origin', current_branch].join('/')
git_branch feature_branch
git_local_branch_create feature_branch git_checkout feature_branch
git_push feature_branch git_push feature_branch
end end
end end

View File

@@ -136,6 +136,10 @@ module Shared
run_cmd "git merge #{branch}" run_cmd "git merge #{branch}"
end end
def git_branch (branch)
run_cmd "git branch #{branch}"
end
def git_push (branch) def git_push (branch)
run_cmd "git push origin #{branch}" run_cmd "git push origin #{branch}"
end end