Donate to support Ukraine's independence.

05 Mar'12

Git deployment

Get some inspiration here first: http://stackoverflow.com/questions/279169/deploy-a-project-using-git

If it seems to hard for you, use this example: http://ryanflorence.com/simple-git-deployment/.

There is a middle method, but I failed to implement it successfully: http://caiustheory.com/automatically-deploying-website-from-remote-git-repository

Take a look at http://www.dejaaugustine.com/2011/05/leveraging-git-as-a-full-fledged-web-development-tool/ and http://deadlytechnology.com/web-development/deploy-websites-with-git/ as well.

Continue reading

15 Feb'12

Git through http proxy

Use this command to globally configure git:

git config --global http.proxy http://10.108.4.62:8080

Continue reading

10 Feb'12

Git default remote

git branch --set-upstream master <strong>origin</strong>/master

origin - name of the default remote

Continue reading