19 Feb'15

Update Git on Debian 7 to Git 2.3

Add the following repository to the sources.list:

deb http://ppa.launchpad.net/git-core/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu precise main

Now, run sudo apt-get update and get the following output:

W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A1715D88E1DF1F24

And fix it by running

sudo apt-key ...

Continue reading

14 Jun'13

Moving from Jekyll to Octopress

Hi again. Today I can proudly say that I was productively procrastinating! As you might know, my “Deep dive into Linux” journey has just began and today it saved me at least few hours.

While cleaning up my 1TB drive residing inside my desktop to make sure that all junk is removed whereas all important files are properly backed up to the cloud, I noticed that inside my old website ...

Continue reading

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

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