mikeizbicki / cmc-csci046

CMC's Data Structures and Algorithms Course Materials
55 stars 155 forks source link

access token denied #481

Closed oklipfel closed 1 year ago

oklipfel commented 1 year ago

I am trying to submit a git push to the master, and when inputting my username and access token I receive the following error message:

Username for 'https://gitlab.com': oklipfel
Password for 'https://oklipfel@gitlab.com': 
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://gitlab.com/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied
fatal: Authentication failed for 'https://gitlab.com/mikeizbicki/master-theorem.git/'

I am not sure if I am doing the $ git remote add github $url incorrectly, I used git remote add github github.com/oklipfel/master-theorem this is the only thing I can think of why it wouldn't be working.

abizermamnoon commented 1 year ago

After you add and commit your changes, have you tried:

$ git push github master