git flow init
- Create a new Projectgit branch
-v - Check the avalable branch- echo "# gitflow-demo" >> README.md - add a file to project
git add
.git commit
-m "first commit"- create a git repo in github and copy the ssh link
git remote
add origin git@github.com:Satyakm/gitflow-demo.gitgit remote
-v -verify if the origin link is establisedgit push
origin --all -push the changes to remort repogit checkout
develop
git flow feature start
-add a feature branch when we start the devlopment work flow.git flow feature finish
feature-001 -This will auto merge the feature branch with development branch and delete the devlopment branchgit push
--set-upstream origin develop -push the latest changes to upstream
git flow release start
1.0.1git add
.git commit
-m "version added"git flow release finish
'1.0.1' This will auto merge the devlopemnt branch with master branchgit checkout
mastergit push
origin --all --follow-tags
https://github.com/nvie/gitflow https://www.youtube.com/watch?v=BYrt6luynCI https://jeffkreeftmeijer.com/git-flow/