Kolam Ayer MakersLinux Foundations

git init

Use

git init

What It Does

git init creates a repository in the current directory.

Practice

Run it inside ~/src so your site source becomes versioned.

Watch Out

Check pwd first. Initializing git in the wrong directory creates confusion.

Docs Pointers