Good link : http://www.parallelsymmetry.com/howto/git.jsp
1. HTTPD (Nginx, Apache .. ) setup
2. git init --bare foo.git
3. mv hooks/post-update.sample hook/post-update
4. git update-server-info(not necessary?)
5. git config http.receivepack true
6. Permission(chmod -R)
* If you upload big size push
--> git config http.postBuffer 524288000
--> Size up http server buffer :
In case of nginx ->
client_body_buffer_size 32K;
client_max_body_size 100M;
http://stackoverflow.com/questions/7489813/github-push-error-rpc-failed-result-22-http-code-413
No comments:
Post a Comment