Git commit doesn't publish to Github profile

Maybe I'm assuming too much, but I thought when we committed files to Git it would show up as a repo on our website profile? Anyway, since it didn't, I was wondering if there is anyway to push all of my project files to there via the Unix command line? Thanks in advance

Sorry You must be a logged in, registered user to answer a question.

Answers

when you commit it only saves changes locally.

you have to add a remote and

git push origin master

We're only pushing to Heroku, not Github. If you want to put your code on Github too, just create a repo and add it as a remote in your repository (something like git remote add origin git://[email protected]/username:repo.get). Then you can push to Heroku with git push heroku master and to Github with git push origin master.