I'm trying to do git push origin my_branch but I'm seeing the below error:
Warning: Permanently added the RSA host key for IP address 'blah blah' to the list of known hosts.
ERROR: Repository not found.
fatal: Could not read from remote repository.
This is what I've tried already:
ls -al ~/.ssh
drwx------ 5 krisp staff 160 Aug 24 12:19 .
drwxr-xr-x+ 67 krisp staff 2144 Sep 13 08:07 ..
-rw------- 1 krisp staff 419 Aug 24 12:15 id_ed25519
-rw-r--r-- 1 krisp staff 110 Aug 24 12:15 id_ed25519.pub
-rw-r--r-- 1 krisp staff 3167 Sep 13 08:05 known_hosts
then
ssh -T git@github.com
Hi kri9ep! You've successfully authenticated, but GitHub does not provide shell access.
I saw this somewhere so I tried this:
ssh-add ~/.ssh/id_rsa
/Users/KrisP/.ssh/id_rsa: No such file or directory
and when I try this:
eval $(ssh-agent -s)
Agent pid 5123
Someone mentioned to change the url in the .gitconfig file but I don't have url, this is what my .gitconfig file looks like:
[user]
email = my_email@etc.com
name = Kristoph P
[credential]
helper = osxkeychain