GIT Cheatsheet

Windows

download git (https://git-scm.com/downloads). It comes with git bash (command line) and basic client.

Linux

??sudo apt-get install git??

Bitbucket

Create a repo first on Bitbucket. It will give you an address for future use.

At command prompt of linux/windows…
mkdir /path/to/your/project
cd /path/to/your/project
git init
git remote add origin https://rhubot@bitbucket.org/rhubot/something.git

git add contributors.txt
git commit -m ‘Initial commit with contributors’
git push -u origin master