Your first repository

Here you do by hand what chapter 2 describes in words: you sign your future snapshots with a name and an email, turn an ordinary directory into a repository, and find your first untracked file. All of it happens on the sandbox disk. There is no network here, and git does not need one.

What is already set up

Almost nothing, and that is on purpose. Git is installed but has no idea who you are: the global config is empty. The sandbox also arrives with the classic first-day mistake already made: someone ran git init straight in the home directory, so /home/student is itself a repository and the .git directory sits in ~. There is no project directory and no files yet, you create those yourself.

pwd               
Free with account

Finish this lesson with a free account

This lesson is free once you sign in. Create an account to keep reading and open the lab.

Create a free account

Already have an account? Sign in