If your team likes structure and you secretly enjoy clerical order then git flow will feel like a warm spreadsheet hug. This guide walks through getting git flow working on Windows using Git Bash and Chocolatey so you can stop inventing branch names on the fly.
Follow these short steps and you will have the AVH fork of git flow on your PATH so Git Bash can find the commands.
Download the official installer from git-scm.com and run it. That gives you Git Bash which behaves more like a proper Unix style shell than the Windows command prompt. It makes the next commands less annoying.
If you already have Chocolatey skip the install step. With Chocolatey you can install gitflow with one command and not worry about where files land.
choco install gitflow-avh -y
The AVH fork is the commonly maintained version and the Chocolatey package places the helper scripts on the system PATH for Git Bash to use.
Open Git Bash in your project folder and run the init command. The tool will ask about branch names and defaults. If you are the sort of person who likes defaults then just accept them and move on with your life.
git flow init
Defaults usually mean master trunk and develop as the integration branch which works for many teams. You can customize branch names to match your workflow.
git flow feature start my-feature
# work, commit, push as usual
git flow feature finish my-feature
The helper commands handle naming and merging targets so you do fewer manual merges and less finger crossing when integrating work.
Installing git flow on Windows is mostly about installing Git for Windows and then adding the gitflow-avh package with Chocolatey. Initialize your repo and use the helper commands to create, finish, and manage features, releases, and hotfixes. If you enjoy rules and predictable merges git flow will make your branching model feel like an organized circus, which is something, right?
I know how you can get Azure Certified, Google Cloud Certified and AWS Certified. It's a cool certification exam simulator site called certificationexams.pro. Check it out, and tell them Cameron sent ya!
This is a dedicated watch page for a single video.