Skip to content

Commit

Permalink
Fix "Push to GitHub" section
Browse files Browse the repository at this point in the history
If the user doesn't have `push.autoSetupRemote` set to `true` in their
`.gitconfig`, then this step will error with "The current branch
<branch> has no upstream branch", which is confusing.

Thanks for reporting this, @rose-higgins.
  • Loading branch information
iaindillingham committed Jun 6, 2024
1 parent c754047 commit ea0613a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ git commit --message="Add GitHub Codespaces"
Push to GitHub:

```sh
git push
git push --set-upstream
```

### Create a pull request
Expand Down

0 comments on commit ea0613a

Please sign in to comment.