Friday, March 28, 2014

GIthub setup

create a github account on github.com then

install git

$sudo apt-get install git


 Now do this in the terminal (This is not required though )
 
$git config --global user.name "your_ame"
$git config --global user.email "your_email"


After this you can either create a repository using website or from local computer using git commands

From website, its pretty clear.

From local computer, here are the steps.

$mkdir abc

$cd abc

$git init          ( this command tells the computer that this is local git repo.)