0% found this document useful (0 votes)
341 views1 page

Git Flow Cheatsheet PDF

This document provides a cheat sheet for using Git Flow to manage projects. It outlines the basic commands for initializing a new Git Flow project from scratch or an existing one, creating and working with feature branches, and publishing features to a remote repository. The cheat sheet is intended to serve as a quick reference guide for the core Git Flow branching model and commands.

Uploaded by

Ali Jay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
341 views1 page

Git Flow Cheatsheet PDF

This document provides a cheat sheet for using Git Flow to manage projects. It outlines the basic commands for initializing a new Git Flow project from scratch or an existing one, creating and working with feature branches, and publishing features to a remote repository. The cheat sheet is intended to serve as a quick reference guide for the core Git Flow branching model and commands.

Uploaded by

Ali Jay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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 <​use​r>@​<ho​st>​: clone repo git remote show outputs: current features
<​use​r>@​<ho​st>​: (use gitlab to create a <p​roj​ect​> origin on remote repository
<r​epo​sit​ory​> new reposi​tory)
cd <​pro​jec​t> change to new git flow feature start creates feature
cd repo change to repo directory repo directory <​fea​tur​ena​me>

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
<​fea​tur​ena​me>
develop branch that was created branch
to remote repo git branch --set-​ups​tream track remote
git branch -- track develop develop origin​/de​velop develop branch
set-​ups​tream
develop Get a Feature Branch
origin​/de​velop
git remote show origin outputs: features,
listed as features/*

git flow feature pull pull feature to your


origin <​fea​tur​e> 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

You might also like