1. I followed the following tutorial to setup git for web development on my private server.
Im getting the following error while using
git push origin master
fatal: http://mysite.com/.git/info/refs?service=git-receive-pack not found: did you run git update-server-info on the server?
I followed through various questions on stackoverflow which all points to creating a repository before using git push but i already have a git repository.
2 . When i visit mysite.com/.git , the complete .git repository is displayed. How do i disable this and just enable git push to the same.