Skip to content

Commit c61a561

Browse files
committed
tweak branch example
1 parent 14e9312 commit c61a561

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/contributing.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ Creating a branch
105105

106106
It's best to create a new, separate branch for each piece of work you want to do. E.g.::
107107

108-
git checkout -b shiny-new-feature
108+
git fetch upstream
109+
git checkout -b shiny-new-feature upsteam/master
109110

110111
This changes your working directory to the shiny-new-feature branch. Keep any changes in
111112
this branch specific to one bug or feature so it is clear what the branch brings to

0 commit comments

Comments
 (0)