SourceTree
Introduction
$ git flow init
@marcos_placona
+MarcosPlacona
Anything you do from terminal can also be done from a GUI
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (develop)
$ git clone ssh://git@stash:7999/php/www.hostelbookers.com.git
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (develop)
$ git branch
* develop
master
$ git checkout master
Text
Mind you! You may not even need to do it
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (develop)
$ git flow feature start IT-19271
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (feature/IT-19271)
$ git add tests/*
$ git commit -m "Create unit tests"
$ git add controllers/*
$ git commit -m "Update controllers"
$ git add controllers/StaticController.cs
$ git commit -m "Fix a whoopsie"
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (feature/IT-19271)
$ git flow publish feature IT-19271
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (feature/IT-19271)
$ git flow feature finish IT-19271
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (develop)
$ git push
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (develop)
$ git flow release start 0.0.34
Sometimes your your release gets under a stack, so you may want to specify a certain version.
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (develop)
$ git flow release start 0.0.34 bbfa7a47e92c8693071345d3720adc707a054a38
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (release/0.0.34)
$ git add tests/*
$ git commit -m "Fix the mess. Back from 100% unit test fail"
$ git add controllers/*
$ git commit -m "Refactor functionality"
$ git add --all
$ git commit -m "Update version and documentation"
marcos.placona @ HBPC0125 /d/_temp/demo/www.hostelbookers.com (0.0.34)
$ git flow release finish 0.0.34