This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

init [June 18, 2011, 1:36 a.m.]


In this task we will create a new Git repository using init.

The init command is short for initialize and creates a new repository in the current working directory. Lets give it a try, change directories to a location where you want to work.

cd /home/username/project
git init
Initialized empty Git repository in /home/username/project/.git/