I'm a newb, and am trying to use Git and SSH to version my files and then push it to the production server.
Here are the steps that I followed:
git init
touch readme.md
git add .
git commit -m "First commit"
ssh username@server
mkdir gittest && cd gittest && mkdir .git && cd .git
git init --bare
logout
git remote add origin ssh://username@server/gittest/.git/
git push origin master
Now, the git directories are the same, I checked manually as well as using show - but shouldn't I be seeing the readme file in the remote repo, or am I missing something? Is there another step? I'd really like to condense all my workflo