Skip to content

Commit 2a02e7f

Browse files
committed
no detached head; closes #3431
1 parent 8d4ab2d commit 2a02e7f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

docs/development.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ skip to {ref}`sec_development_workflow_anothers_commit`.
175175
is to follow this recipe:
176176
```bash
177177
$ git fetch upstream
178-
$ git checkout upstream/main
179-
$ git checkout -b topic_branch_name
178+
$ git checkout -b topic_branch_name upstream/main
180179
```
181180

182181
4. Write your code following the outline in {ref}`sec_development_best_practices`.

0 commit comments

Comments
 (0)