Skip to content

Instantly share code, notes, and snippets.

@hung-doan
Created August 24, 2018 09:58
Show Gist options
  • Save hung-doan/0a465275a509d33c4a3dc5df0487e3b8 to your computer and use it in GitHub Desktop.
Save hung-doan/0a465275a509d33c4a3dc5df0487e3b8 to your computer and use it in GitHub Desktop.
Git Flow
Develop -> master
Develop: continuous build, QC can test ticket as soon as possible
master: stable version
1. Developer branch "ticket/DV-123-Description" from develop
2. Develop submit a pull request from "ticket/DV-123-Description" to develop
3. Dev Ops create release branch "release/v1.1.0" to define a version number & tag version number
3. Dev Ops submit a pull request from "release/v1.1.0" to master
4. CI buil master branch
When team device to deploy to production, we checkout version by tag & deploy it to the production server.
All bug will best fixed in latest development version.
Versioning:
- Continuous build for development: 0.0.0.build
- Stable version: x.y.z.build which follow http://semver.org
- Production version: the same as stable version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment