Monthly Archives: May 2013

[Git] Check out a branch in git

mkdir $BRANCH
git init
git remote add -t $BRANCH -f origin $REMOTE_REPO
git checkout $BRANCH

[Ubuntu] Install ant 1.8 on Ubuntu 12.10 ( from repo)


– Make sure you have set JAVA_HOME env. variable before. For my case, I’m having open-jre and open-jdk install.

I need to append to file /etc/profile one more line

export JAVA_HOME=”/usr/lib/jvm/java-1.7.0-openjdk-i386;”

Save and we’re done with JAVA_HOME variable.


install ant from repo with:

sudo apt-get install ant

Let’s test, type into terminal   ant -version

>> Apache Ant(TM) version 1.8.2 compiled on May 18 2012