GitHub Cheat Sheet

Published on

Checkout a remote branch Before you can start working locally on a remote branch, you need to fetch it as called out in answers below. To fetch a branch, you simply need to: git fetch origin This will fetch all of the remote branches for you. You can see the branches available for checkout with: … Continue reading GitHub Cheat Sheet

Installing Composer on Ubuntu

Published on

cd /tmp curl -s http://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/ alias composer=’/usr/local/bin/composer.phar’ Reference: https://getcomposer.org/download/