Git – Crash Course

Clone a repo

Let’s take hostmaster:

git clone url

If successful, you will have a directory at the last state of development (‘HEAD’ in CVS speak, usually ‘master’ branch in git speak).

Check the status of the local git repository:

git status

See the commit messages:

git log

Check all ‘releases’

git tag
More Detail Document can be found here:-

Read previous post:
Handy PHP regular expressions for web developers – Part 1

Replacing double quotes by smart quotes If you’re a typographer lover, you’ll probably love this regexp, which allow you to...