git checkout -b <branchname>
git add
git commit -m "description of changes"
#!/bin/bash | |
# sudo ./init.sh [Directory] [MySQL Host] [MySQL User] [MySQL Password] [MySQL Database name] | |
curl -sS https://getcomposer.org/installer | sudo php — —install-dir=/usr/local/bin —filename=composer | |
if [ ! -d "$1" ]; then | |
echo 'Directory do not exist.'; | |
exit 1 | |
fi | |
chmod +x $1 -R | |
cd $1; |
#Install Gource in Ubuntu | |
======================== | |
#Go to the folder.... and | |
#see http://tylerfrankenstein.com/code/install-gource-ubuntu-1010-visualize-git-repo | |
sudo apt-get update | |
sudo apt-get install libsdl2-dev libsdl2-image-dev libpcre3-dev libfreetype6-dev libglew-dev libglm-dev libboost-filesystem-dev libpng12-dev libsdl1.2-dev libsdl-image1.2-dev libtinyxml-dev | |
./configure | |
make | |
sudo make install |