TortoiseGit Manual

Create Repository

This section talks about how to create a git repository. Creating an empty git repository is very simple. At an empty directory, just use the explorer context menu and select Git Create Repository here .

Figure 2.5. Create repository dialog

Create repository dialog

You can choose here between a bare and normal git repository. A normal repository has a working tree attached to which files can be checkout out and committed whereas a bare repository only can be pushed to and pulled from. After a (non bare) repository is created a message box will be shown:

Figure 2.6. Successful repository creation message

Successful repository creation message

You can find more information at git-init(1) man-page.