git clone git@github.com/gitflow.gitcd gitflow/git checkout -B developgit push origin develop## Here are all the branches currently availablegit branch -a## Make sure develop branch is tracking origin/develop git branch --set-upstream develop origin/develop## Checkout and track master, you'll need it for git-flowgit checkout -t origin/master## Now initialize your local repo for git-flow, you can accept all the defaults git flow init## Create a feature branchgit flow feature start XXX-999## publish branch to remote repository# git flow feature publish XXX-999git commit -a -m "a message about changes"## push: push commits up to remote. Note: add the "feature/" prefixgit push origin feature/XXX-999////////////////////////////////////////////////////// Finish/Merge////////////////////////////////////////////////////git pull## rebase off the latest develop branch git rebase develop## finish the featuregit flow feature finish XXX-999## delete the branch you published to GitHubgit push origin :feature/XXX-999////////////////////////////////////////////////////// Making a Release////////////////////////////////////////////////////git checkout developgit status## start the releasegit flow release start '1.1.1'## finish the releasegit flow release finish '1.1.1'## now push them to the remote repositorygit push origin master## make sure tags are pushed as wellgit push --tags