Git Not Available
Fix errors when git is not found or the project is not a git repository. Memoria requires git history to analyze file dependencies.
The Problem
Memoria reports 'not a git repository' or cannot find git on your system.
Common Causes
- Project directory is not a git repository
- Git is not installed
- Git is not in PATH
- Repository has no commits
Solutions
Initialize Git Repository
If your project isn't a git repository, initialize one.
git init
git add .
git commit -m "Initial commit"Verify Git Installation
Check if git is installed and accessible.
git --versionInstall Git
Install git using your package manager or download from git-scm.com.
# macOS
brew install git
# Ubuntu/Debian
sudo apt install git
# Windows - download from git-scm.comCreate Initial Commits
Memoria needs git history to analyze. Make a few commits to build up history.