We recommend setting up a git repository to track and manage changes to your Evidence project. You'll also need this to deploy your project online using our deployment instructions.
You can check if you have a published repo in the Settings page of your Evidence project (localhost:3000/settings)
Initializing & Publishing a Repo
Through VS Code
If you use VS Code, the easiest way to get set up with version control is through the Source Control tab in your editor. You can initialize and publish your git repo from this tab.
If you need more information, VS Code has a guide for setting up version control in their docs.
GitHub provides a guide in their docs for getting a local project into a git repository and published to GitHub.
Through the Command Line
You can initialize a local git repo for your project through the command line by:
- Changing your current directory to your local Evidence project
git initin your terminal
This will give you a local git repo which you can use to manage changes to your project's code.
You'll still need to publish your repo to a platform like GitHub in order to use our deployment instructions. See the two sections above for help with publishing.