Tag : git-basics

Git -basics

Initializing a Repository in an Existing Directory:


$ git init

Use git add commands that specify the files you want to track, followed by a commit:


$ git add *.php
$ git add FILENAME
$ git commit -m 'initial commit'

Cloning an Existing Repository:


$ git clone git://github.com/schacon/grit.git