May 22, 2019 in Interview Question

Could you explain the Gitflow workflow?

  • Master - is always ready to be released on LIVE, with everything fully tested and approved (production-ready).
    • Hotfix - Maintenance or “hotfix” branches are used to quickly patch production releases. Hotfix branches are a lot like release branches and feature branches except they're based on master instead of develop.
  • Develop - is the branch to which all feature branches are merged and where all tests are performed. Only when everything’s been thoroughly checked and fixed it can be merged to the master.
    • Feature - Each new feature should reside in its own branch, which can be pushed to the develop branch as their parent one.