Created
October 23, 2022 10:21
-
-
Save sinamics/d6031fe0c66226d3806b5577ca226c06 to your computer and use it in GitHub Desktop.
Set github accesstoken globally
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add new .git-credentials file in userhome folder | |
nano ~/.git-credentials | |
# paste in your username and token generated from github. | |
# example: | |
https://<USERNAME>:<TOKEN>@github.com | |
# Reload github config helper | |
git config --global credential.helper store | |
# Now your git will use this token for every pull/push ect and no need to type in the credentials. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment