Git Flow Cheat Sheet
by vmalkani via cheatography.com/4159/cs/857/
Git Flow New Project Git Flow Existing Project Create Feature Branch
git clone clone a new repository git clone <user>@<host>: clone repo git remote show outputs: current features
<user>@<host>: (use gitlab to create a <project> origin on remote repository
<repository> new repository)
cd <project> change to new git flow feature start creates feature
cd repo change to repo directory repo directory <featurename>
git flow init -d initialize git flow git flow init -d initialize git flow git flow feature pushes feature to
publish remote repository
git push -u origin push new develop git pull origin develop pull develop
<featurename>
develop branch that was created branch
to remote repo git branch --set-upstream track remote
git branch -- track develop develop origin/develop develop branch
set-upstream
develop Get a Feature Branch
origin/develop
git remote show origin outputs: features,
listed as features/*
git flow feature pull pull feature to your
origin <feature> local repo
By vmalkani Published 21st February, 2013. Sponsored by Readability-Score.com
cheatography.com/vmalkani/ Last updated 14th March, 2017. Measure your website readability!
Page 1 of 1. https://readability-score.com