Set up remote for a local git

[/code]
Set up the 'remote' if you dont have it already

git remote add origin ssh://... [/code]

now configure master to know to track

git config branch.master.remote origin
git config branch.master.merge refs/heads/master [/code]

and push

git push origin master[/code]

You can also edit .git/config


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.