From the course: Git for Teams

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Git flow

Git flow - Git Tutorial

From the course: Git for Teams

Start my 1-month free trial

Git flow

- [Instructor] The next workflow we'll review is Git Flow. Git Flow is a popular workflow for Git that centers around two long-lived branches, master and develop. The master branch contains a copy of the current production code and is tightly controlled. Develop is the parent branch for feature branches that are created to address a particular line of work. Once a feature is complete, its branch is then merged back into the develop branch. When develop contains enough features to warrant a release, a new release branch is branched from develop. In the release branch, bug fixes can be made prior to the release in parallel to new work being performed in develop. The release branch is merged into master after the code is sent to production. Finally, develop is synced with the release. Additionally, Git Workflow allows hotfix branches to be created for master for emergency resolution to any production bugs that pop up. Git Flow centers around releases that deliver a releasable piece of…

Contents