Basically I thought I could use git for deployment as those rails cloud providers as heroku offer. So I created an app on the server, changed to that directory and did a git init in there. Next I created a http server with git-wep pointing that directory. Now I check out, that`s fine too and edit and commit to my repo.
Now, what I want to do next, would be to push to the server and have it update it's working directory as a post commit hook. deployed.
But git won't let me push. Probably I could
You can set 'receive.denyCurrentBranch' configuration variable to 'ignore'
but where would I do that? Where and how could I place the hook?