git fatal: repository not found 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: ERROR: Repository not found.

# Maybe your are trying to use more than one repo on the same server. I
# had to setup config to use both repos on the same server with different
# ssh keys. Here is what helped me.

# 1. Create a file for the configuration
mkdir ~/.ssh/config

# 2. Add list your configuration to the file with IdentityFile being the
# path to the ssh key file name.
Host github.com
        HostName github.com
        IdentityFile ~/.ssh/id_rsa
Host github.com-example2
        HostName github.com
        IdentityFile ~/.ssh/id_rsa_example2

# Cloning the first repo with the ssh key, id_rsa, looks like:
git clone [email protected]:User/Repo.git

# Cloning the other with the ssh key, id_rsa_example2, looks like:
git clone [email protected]:User/Repo.git