describe how to develop multiple features at the same time
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
4947b154ee
commit
5f5b9f8cc4
1 changed files with 14 additions and 0 deletions
|
@ -134,6 +134,20 @@ git fetch -v origin
|
|||
git merge origin/master
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Similar when you want to develop another new feature, you go back
|
||||
to the master branch and create another branch based on it:
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
# change to master and update to most recent upstream version
|
||||
git checkout master
|
||||
git fetch -v origin
|
||||
git merge origin/master
|
||||
|
||||
git checkout -b another_feature
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
(you can repeat the code above for as many features as you want to develop
|
||||
in parallel)
|
||||
|
||||
|
||||
SEE ALSO
|
||||
|
|
Loading…
Reference in a new issue