Got this error message:
[ljcohen@dev-intel16 Porites_astreoites_larvae_salinity]$ git push origin master
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/ljcohen/Porites_astreoites_larvae_salinity.git/info/refs
fatal: HTTP request failed
Googled problem and found this: http://stackoverflow.com/questions/25931684/git-push-error-could-not-resolve-host-name
Tried this, but did not work:
remote set-url origin ssh://[email protected]:ljcohen/Porites_astreoites_larvae_salinity.git
Then this worked:
remote set-url origin https://[email protected]/ljcohen/Porites_astreoites_larvae_salinity/
I had the same issue and could solve it with adding the user for the connection:
i.e git remote set-url origin https://[email protected]/iashu1/ECSTest.git