|
git clone <user>@<host>:<repository>
|
clone a new repository (use gitlab to create a new repository)
|
|
cd repo
|
change to repo directory
|
|
git flow init -d
|
initialize git flow
|
|
git push -u origin develop
|
push new develop branch that was created to remote repo
|
|
git branch --set-upstream develop origin/develop
|
track develop
|
|
git clone <user>@<host>:<project>
|
clone repo
|
|
cd <project>
|
change to new repo directory
|
|
git flow init -d
|
initialize git flow
|
|
git pull origin develop
|
pull develop branch
|
|
git branch --set-upstream develop origin/develop
|
track remote develop branch
|
|
git remote show origin
|
outputs: features, listed as features/*
|
|
git flow feature pull origin <feature>
|
pull feature to your local repo
|
|
git remote show origin
|
outputs: current features on remote repository
|
|
git flow feature start <featurename>
|
creates feature
|
|
git flow feature publish <featurename>
|
pushes feature to remote repository
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.