# Creating a New Repository

To use Jjewel you need a Jujutsu repository for your project. If you have not created a repository, you can do so from Jjewel.

In Jjewel press Cmd-Shift-N or choose File > New Repository to create a new repository. A Save panel opens for you to choose a location for your repository.

Navigate to the location where you want to create the repository folder. Enter the name for the repository in the Repository Name: text field. Click the Create Repository button to finish creating the repository.

## Creating a Repository for an Existing Project

Jjewel's repository creation works best when you create the repository before you start your project. Problems can occur when you add a Jujutsu repository to an existing project that already contains files.

Suppose you have an existing project named `MyProject`. If you create a repository inside the `MyProject` folder, none of the files inside the `MyProject` folder will be tracked because those files are one level above the repository you created.

To track the files in the `MyProject` folder, you must move the Jujutsu repository inside the `MyProject` folder. Take the following steps to move the Jujutsu repository inside the `MyProject` folder:

1. Go to the Finder.
2. Press Cmd-Shift-Dot to show hidden files and folders. The Jujutsu repository is in a hidden folder.
3. Go to the `MyProject` folder in the Finder.
4. Open the folder you created for the repository.
5. Move the `.jj` and `.git` folders to the `MyProject` folder.

Table of Contents