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
Github recently removed password authentication for pulling/pushing remote repos (details here). The main methods you can use to authenticate yourself is via personal access tokens (PATs) or SSH.
Setting my remote URL like this did not work. Set your remote URL without username and if you have setup PAT/SSH, there should have no issues pulling/pushing from the strayr repo.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Github recently removed password authentication for pulling/pushing remote repos (details here). The main methods you can use to authenticate yourself is via personal access tokens (PATs) or SSH.
Details for creating a PAT can be found here: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
And details for SSH: https://docs.github.com/en/authentication/connecting-to-github-with-ssh
Github recommends PAT as it is much simpler to set up. SSH is more involved and has more steps.
Note that if you're changing your remote URLs from HTTPS to SSH, you can follow this: https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories#switching-remote-urls-from-ssh-to-https
A gotcha that confused me was this instruction:
Setting my remote URL like this did not work. Set your remote URL without username and if you have setup PAT/SSH, there should have no issues pulling/pushing from the strayr repo.
Beta Was this translation helpful? Give feedback.
All reactions