So created a website on my localhost. And I pushed to codebase, and I want push it to live, how do I do that?
here is my order:
1. $ git init (setup on my local)
2. $ git add .
3. $ git commit -m 'initial commit'
4. $ git remote add origin git@codebasehq.com:yourcodebasedomain/yourproject/example.git
5. $ git push origin master (pushes to codebase)
6. ??? - How do I push my codebase repo to live site?
Thanks!
This is rather an involved process, as you need to set up a Git hook to be able to push directly to the server. I recommend the tutorial at http://sebduggan.com/blog/deploy-your-website-changes-using-git/