git flow

Git Flow Cheat Sheet by vmalkani via cheatography.com/4159/cs/857/ Git Flow New Project Git Flow Existing Project git...

1 downloads 109 Views 28KB Size
Git Flow Cheat Sheet

by vmalkani via cheatography.com/4159/cs/857/ Git Flow New Project

Git Flow Existing Project

git clone [email protected]

clone a new repository (use

git clone [email protected]

tem.com:

gitlab to create a new reposi

tem.com:

tory)

cd

Get a Feature Branch clone repo

change to new

git flow feature pull origin

pull feature to your local

repo directory



repo

change to repo directory

git flow init -d

initialize git flow

git flow init -d

initialize git flow

git push -u origin

push new develop branch

git pull origin develop

pull develop

develop

that was created to remote

branch

repo

git branch --set-upstream

track remote

track develop

develop origin/develop

develop branch

tream develop origin

Create Feature Branch git remote show origin

outputs: current features on remote repository

git flow feature start <

creates feature

featurename>

/develop

Cheatographer

outputs: features, listed as features/*

cd repo

git branch --set-ups

git remote show origin

git flow feature publish

pushes feature to remote



repository

Cheat Sheet

Sponsor

vmalkani

This cheat sheet was published on 21st February,

FeedbackFair, increase your conversion rate today!

cheatography.com/vmalkani/

2013 and was last updated on 21st February, 2013.

Try it free! http://www.FeedbackFair.com