islamnouman's avatar

git initialization issue

Hello, I would be very thank full if any one of you could me I want to create a repository on my git account using command line git on ubuntu and I have integrated ssh key with git account

i am following these steps:

  • create a fresh laravel project
  • move inside laravel project directory
  • git init -b main
  • git add .
  • git commit -m"initial commit"
  • git remote add origin github.com:myusername/repository-name.git
  • git push origin main

but this error comes

ERROR: Repository not found. fatal: Could not read from remote repository.

0 likes
2 replies
vincent15000's avatar

The message is very clear : the repository doesn't exist.

Or you don't have access.

Do you have initialized your public/private key to communicate with your git repository ?

Please or to participate in this conversation.