Setting up a Bare Repository

Set up a repository that will help you understand the concept of “bare repositories.”

We'll cover the following

Configuration

In this example, you’re going to repeat the last section’s work. But this time, you’re going to be able to push your commits at the end. This will be achieved by having a bare repository that your two imagined users will pull from and push to.

Type this in:

1	mkdir lgthw_bare_repo
2	cd lgthw_bare_repo
3	git init --bare

Get hands-on with 1400+ tech skills courses.