How to Make a Git Flow Using SourceTree

Budi Oktaviyan
2 min readDec 11, 2016

--

Hello fellas, this is My First Story at Medium. Today, I want to share how to make a simple Git Flow Using SourceTree.

  • Assume that you already has a project, and then open your SourceTree App
Project on Your SourceTree
  • Click “Repository -> Git flow/Hg flow -> Initialize Repository”. Please see the sample below
Git flow menu on SourceTree
Initialize Repository (Git Flow)
  • Assume that we want to create some new feature for our app. Ex: “my_feature”. We can easily do that using SourceTree of course :) … Just select on the “Repository -> Git flow/Hg flow -> Start New Feature”
Start New Feature menu on SourceTree
Type your new feature, ex: “my_feature”
  • Do your work on that “feature branch” and after that, you can add and commit to your local repository like this :)
New File on “feature branch” has been created
Prepare to Add and Commit a File on Local Repository
  • You can finish the feature that has been done by clicking on the menu “Repository -> Git flow/Hg flow -> Finish Feature. That’s it! and you can do push to origin or merge with another branch for your feature
Finish Feature menu on SourceTree
You can select “delete” or “keep branch” for that feature

So, Did you realize that it’s so easy doing the Git Flow using SourceTree, right ? :) … I Hope you’ll like it!

Sample of source can be found here

--

--