Skip to content

Commit

Permalink
Added git-flow-develop
Browse files Browse the repository at this point in the history
  • Loading branch information
varunkvv committed Aug 21, 2013
1 parent 15aab26 commit eb01738
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions git-flow-develop
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cmd_merge() {

if has "$ORIGIN/$DEVELOP_BRANCH" $(git_remote_branches); then
git_do fetch -q "$ORIGIN" "$BRANCH"
git_do fetch -q "$ORIGIN" "$DEVELOP_BRANCH"
git_do push "$ORIGIN" "$DEVELOP_BRANCH"
fi
if has "$ORIGIN/$DEVELOP_BRANCH" $(git_remote_branches); then
require_branches_equal "$DEVELOP_BRANCH" "$ORIGIN/$DEVELOP_BRANCH"
fi


git_do checkout "$MASTER_BRANCH"
git_do merge --squash "$DEVELOP_BRANCH"
git_do commit
git_do merge "$DEVELOP_BRANCH"
}

init() {
require_git_repo
require_gitflow_initialized
gitflow_load_settings
}

0 comments on commit eb01738

Please sign in to comment.