You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/beeware_docs_tools/shared_content/en/_shared/contribute/how/submit-pr.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,7 +166,7 @@ The following shows an example of what to expect on `push`, with the URL highlig
166
166
{% endif %}
167
167
168
168
```console {hl_lines="11"}
169
-
(.venv) $ git push
169
+
(.venv) $ git push --set-upstream origin
170
170
Enumerating objects: 15, done.
171
171
Counting objects: 100% (15/15), done.
172
172
Delta compression using up to 24 threads
@@ -189,7 +189,7 @@ To https://github.com/<your GitHub username>/{{ formal_name }}.git
189
189
/// tab | Linux
190
190
191
191
```console {hl_lines="11"}
192
-
(.venv) $ git push
192
+
(.venv) $ git push --set-upstream origin
193
193
Enumerating objects: 15, done.
194
194
Counting objects: 100% (15/15), done.
195
195
Delta compression using up to 24 threads
@@ -210,7 +210,7 @@ To https://github.com/<your GitHub username>/{{ formal_name }}.git
210
210
/// tab | Windows
211
211
212
212
```doscon {hl_lines="11"}
213
-
(.venv) C:\...>git push
213
+
(.venv) C:\...>git push --set-upstream origin
214
214
Enumerating objects: 15, done.
215
215
Counting objects: 100% (15/15), done.
216
216
Delta compression using up to 24 threads
@@ -230,6 +230,10 @@ To https://github.com/<your GitHub username>/{{ formal_name }}.git
230
230
231
231
{% endif %}
232
232
233
+
The `--set-upstream` option tells Git to connect your local branch to the branch on your GitHub fork. You only need to include it the first time you push a new branch; after that, you can use `git push`.
234
+
235
+
If GitHub asks for a password, don't enter your GitHub account password. GitHub no longer accepts account passwords for Git operations over HTTPS; follow GitHub's instructions for [creating and using a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) instead.
236
+
233
237
If you've previously pushed the current branch to GitHub, you won't receive the URL again. However, there are other ways to get to the PR creation URL:
234
238
235
239
- Navigate to the upstream repository, click on "Pull Requests" followed by "New pull request", and choose the from which you want to submit your pull request.
0 commit comments