Home > Net >  Why do I get User Name not found error with Github access token?
Why do I get User Name not found error with Github access token?

Time:02-28

I'm trying to use the access token with Github. I'm trying to follow the following commands. A link for which can be found linux commands

but when I use the username command I get a command not found error. I'm probably missing something completely trivial but I cannot seem to get it working.

enter image description here

CodePudding user response:

The formatting and command block in the answer your were following were confusing. I corrected them and now they read as follows:

$ git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
> Cloning into `YOUR-REPOSITORY`...
Username: <type your username>
Password: <type your password or personal access token (GitHub)

The command you execute is git clone ... and the CLI is then going to interactively ask for your username and password (PAT for GitHub). Enter this information when asked and confirm with ENTER.

  • Related