File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,10 +106,15 @@ Creating a branch
106106Before you do any new work or submit a pull request, please open an issue on GitHub to
107107report the bug or propose the feature you'd like to add.
108108
109- It's best to create a new, separate branch for each piece of work you want to do. E.g.::
109+ It's best to synchronize your fork with the upstream repository, then create a
110+ new, separate branch for each piece of work you want to do. E.g.::
110111
112+ git checkout master
111113 git fetch upstream
112- git checkout -b shiny-new-feature upsteam/master
114+ git rebase upstream/master
115+ git push
116+ git checkout -b shiny-new-feature
117+ git push -u origin shiny-new-feature
113118
114119This changes your working directory to the 'shiny-new-feature' branch. Keep any changes in
115120this branch specific to one bug or feature so it is clear what the branch brings to
You can’t perform that action at this time.
0 commit comments