Skip to content

Commit

Permalink
instructions to create github access token
Browse files Browse the repository at this point in the history
  • Loading branch information
0orja committed Apr 21, 2024
1 parent ab2996e commit 0431f76
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions en/deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,14 @@ To https://github.com/ola/my-first-blog.git
Branch main set up to track remote branch main from origin.
```

> **Note** You might encounter the following error when trying to push to GitHub:
```
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/<your-github-username>/my-first-blog.git/'
```
In this case, follow the instructions from GitHub to [create a personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic). The token should have the 'repo' scope. Copy the value of the token, then try the git push command again. When you are prompted to enter your username and password, enter the access token instead of your password.

<!--TODO: maybe do ssh keys installs in install party, and point ppl who dont have it to an extension -->

Your code is now on GitHub. Go and check it out! You'll find it's in fine company – [Django](https://github.com/django/django), the [Django Girls Tutorial](https://github.com/DjangoGirls/tutorial), and many other great open source software projects also host their code on GitHub. :)
Expand Down

0 comments on commit 0431f76

Please sign in to comment.