Forums

Cannot not clone GitHub repository

Today when I tried to clone my repository using

git clone https://github.com/prateekgupta25apr/gupta_automobiles.git

then I was asked for my username and password, I entered my username and Personal Access Token as password but I'm getting following error

remote: Repository not found.
fatal: repository 'https://github.com/prateekgupta25apr/gupta_automobiles.git/' not found

What should I do??

Was there a trailing slash in the git clone command?

@pafk No I didn't put a trailing slash in the git clone command

Maybe your token has not all needed permissions enabled? Try creating a new one with "Full control of private repositories" in the "repo" section checked and see if it will work.

That was the problem. Thanks for the help buddy @pafk. May god bless you and may you get whatever u have asked for. Thank again

Thanks! @pafk has finished work for the day, but I'll pass on your good wishes :-)