fatal: repository not found git code example

Example 1: remote: Repository not found.

git remote rm origin

Example 2: Error: Repository not found

git remote add origin  https://USERNAME:[email protected]/username/reponame.git

Example 3: repository not found

git remote set-url origin https://[email protected]/aceofwings/RotairERP.git
//your repository is probably private

Example 4: remote: Repository not found. fatal: repository 'https://github.com/Zoetis-Hybris/ZoetisGCP.git/' not found

conflict with local github network , so had to remove the local github network and was able to pull remote successful

Tags:

C Example