-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting Git Issues
saich edited this page Feb 14, 2011
·
2 revisions
SSH Test gives error: "Permission denied(publickey)"
- Make sure you generated an SSH key & added the public key contents in your github.com account page
- Make sure you are running 'ssh [email protected]' instead of 'ssh github.com'. This should most probably solve your problem.
- To debug more, use 'ssh -v [email protected]' or 'ssh -vvv [email protected]'
Unable to push to the server
- Run 'git remote -v' to look the remote URLs.
- Make sure you're either using 'ssh' or 'https'. 'git' protocol is read-only.
- In case you're using ssh, you must not add ssh:// to the URL. If you've added, you must remove it. You can use 'git remote rename' command to change the URL