-1

When doing the deployment in staging using Mina. I got the following error message in the console.

       fatal: Not a git repository (or any of the parent directories): .git
-----> Fetching new git commits
       ERROR: Repository not found.
       fatal: Could not read from remote repository.

       Please make sure you have the correct access rights
       and the repository exists.
 !     ERROR: Deploy failed.
-----> Cleaning up build
       Unlinking current
       OK

 !     Command failed.
       Failed with status 19

I don't know, why I am getting this error. Please help me.

1 Answers1

0

do the following:

remove the remote origin

git remote rm origin

re-add the origin but with your username and pwd with writing privileges on this pvt repo

git remote add origin  https://USERNAME:PASSWORD@github.com/username/reponame.git
adarsh
  • 186
  • 2
  • 13