Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Tuesday, July 8, 2014

github push 403 and Permission denied

Initially I was getting

error: The requested URL returned error: 403 Forbidden while accessing https://github.com/..

on

$ git push origin master

I read a forum post that recommended

$ vi .git/config

and changing the url line from https://github.com/.. to ssh://github.com/..

and then generating public/private keys and adding this to github.  After doing so I was getting

Permission denied (publickey).
fatal: The remote end hung up unexpectedly

eventually I solve this by changing that url line in .git/config to

url = git@github.com:LOGIN/REPONAME.git

... I also made sure to run

git config --global user.name "LOGIN"
git config --global user.email EMAIL

Tuesday, July 30, 2013

csv2gft

I've posted a public branch of code from the Lima Bean project to github as csv2gft.  This might be very useful for someone who is doing daily pushes of new records to a Google Fusion Table from a csv dump.