Improvement to Lifecycle of a Pull Request at git push origin
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Anfängerfreundlichkeit
- 52/100
- Issue-Typ
- Dokumentation
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- git, github
- Bereich
- documentation
Rechercherichtung
Finde die Passage im developer guide zu git push origin <branch name> und lies die umgebenden Authentifizierungsanweisungen. Aktualisiere sie anhand der verlinkten GitHub-Dokumentation so, dass sie GitHub personal access tokens an der Passwortabfrage erklärt; abgeschlossen ist die Aufgabe, wenn Anfänger darauf hingewiesen werden, dass sie nicht ihr normales GitHub-Passwort eingeben sollen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Where:
When all of your changes are committed (i.e. git status doesn’t list anything), you will want to push your branch to your fork:
git push origin <branch name>
This will get your changes up to GitHub.
There is a step missing which gave me some issue. That is the bit about the git command responds with username and password. If you enter your GitHub password the response is:
Username for 'https://github.com':
Password for 'https://@github.com':
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com//cpython.git/'
So I suggest adding enough info to get the beginners around this such that the page now reads:
Ensure that you have created a personal access token link.
Note that you will likely need the token until your changes have been accepted.
When all of your changes are committed (i.e. git status doesn’t list anything), you will want to push your branch to your fork:
git push origin <branch name>
At the password prompt:
Password for 'https://@github.com':
Enter you personal access token (ghp_1e3f...) instead of your usual GitHub password.
This will get your changes up to GitHub.
- Vorherrschende Sprache
- Python
- Sterne
- 2.1k
- Forks
- 1k
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 12
Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus python/devguide
-
type-feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
type-feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
-
topic-building python type-feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
needs: decision topic-test type-bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
topic-dev process type-feature
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Alle Issues in python/devguide
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
learningequality/ricecooker#747 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
run-llama/llama_index#23199 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
KhronosGroup/glTF-Blender-IO#2769 ·