Where Does Gita Store Repo Data?
Gita repo manager CSV and JSON data files under XDG config.
Last updated
Gita tracks repos in CSV files under XDG config. A project home var relocates the whole folder. Custom commands live in JSON beside the registry.
Display helpers add color, symbol and layout CSVs over time. Old filename guides predate the current layout, so trust the CSV and JSON pair.
Where Gita stores this, by platform
~/.config/gita/repos.csv
Repo registry CSV plus custom commands JSON under XDG. Display CSVs for color, symbols and layout beside them. Relocatable via project home var. Old yml names are stale.
Frequently asked questions
How do I back up Gita?
Copy the whole gita config folder with no command running. Repo registry, custom commands and display files travel together. Restoring means putting the folder back and listing repos to confirm.
Which filenames are current?
Current builds use repos.csv plus cmds.json. Old guides naming repo_path and cmds.yml describe stale layouts. Groups and context derive from the same files with no separate store.
Notice an outdated path? Let us know.