-
Notifications
You must be signed in to change notification settings - Fork 278
Git merge
Fernando edited this page Mar 17, 2016
·
12 revisions
- Git
- A clone of Medusa repo
Increment the tag number each time.
$ git checkout master
$ git merge --no-ff develop
$ git tag -a v0.0.0
$ git push origin master
$ git push --tags origin master
- The PR must be based on
Medusa:develop
- The branch we want to commit is
{YOUR_GITHUB_USER}:branchABC
$ git checkout -b branchABC develop
$ git pull https://github.com/{YOUR_GITHUB_USER}/Medusa.git branchABC
$ git checkout develop
$ git merge --no-ff branchABC
$ git push origin develop
$ git branch -d branchABC
- The PR must be based on
Medusa:master
- The branch we want to commit is
{YOUR_GITHUB_USER}:branchABC
$ git checkout -b branchABC master
$ git pull https://github.com/{YOUR_GITHUB_USER}/Medusa.git branchABC
$ git checkout master
$ git merge --no-ff branchABC
$ git push origin master
$ git checkout develop
$ git merge --no-ff branchABC
$ git push origin develop
$ git branch -d branchABC