cis-ds / Discussion

Public discussion
10 stars 15 forks source link

Unable to login in order to clone a project using Git repository #196

Open mikaylastein opened 2 years ago

mikaylastein commented 2 years ago

After following the first step (1. fork), I am unable to clone a project using Git repository. Instead, it asks me to enter my "username and password for 'https://github/com'". When I do so, I receive another error message:

"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/cfss-fa21/hw01.git/'"

bensoltoff commented 2 years ago

For these types of operations, GitHub no longer allows you to enter your username and password when pushing/pulling. Did you follow these instructions to configure RStudio to interact with GitHub? If you are using the online RStudio Workbench, follow the SSH instructions. If you have a local installation of RStudio, you can use the first (PAT) option.