Skip to content

Commit

Permalink
small changes review
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Jähn <[email protected]>
  • Loading branch information
AnnikaLau and mjaehn authored Apr 4, 2024
1 parent 792a70f commit 84531d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions beginner/token.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"source": [
"## Create a user token to use HTTPS for working with remote repositories\n",
"GitHub only allows authorized users to push (and pull) to remote repositories.\n",
"If you do not have a SSH key set up, you need to create a GitHub user token.\n",
"If you do not have an SSH key set up, you need to create a GitHub user token.\n",
"\n",
"Please follow the description for [Creating a personal access token (classic)](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-personal-access-token-classic) provided by GitHub.\n",
"\n",
"Once you have a token, you can enter it instead of your password when performing Git operations over HTTPS.\n",
"\n",
"**Please save the token somewhere, GitHub will only show it to you once.**\n",
"\n",
"If you use the token when executing the `git push` command, you may get a popup window saying something like _git-credential-osxkeychain wants to use your confidential information stored in “github.com” in your keychain_, click `Deny` and proceed to enter your GitHub username.\n",
"If you use the token when executing the `git push` command, you may get a popup window saying something like _'git-credential-osxkeychain wants to use your confidential information stored in “github.com” in your keychain'_, click `Deny` and proceed to enter your GitHub username.\n",
"\n",
"```\n",
"git push origin <branch_name>\n",
Expand All @@ -24,7 +24,7 @@
"```\n",
"\n",
"\n",
"> **Note about SSH**: With an SSH key, you don't need to create a user token but can push directly, as GitHub already has your information. We highly recommend you to set up a SSH key!"
"> **Note about SSH**: With an SSH key, you don't need to create a user token but can push directly, as GitHub already has your information. We highly recommend you to set up an SSH key!"
]
}
],
Expand Down

0 comments on commit 84531d8

Please sign in to comment.