Where Does Magit Store Settings?
Where Magit keeps settings in Emacs, transient state plus config files. Full paths are listed below.
Last updated
Magit is Emacs git porcelain with config state. Your popups live in the Emacs directory. Repos stay in their clone folders.
Same Emacs config means same Magit anywhere Emacs runs. Exact file names shift with Melpa versus stable builds. Keep repos where they are. For moves, copy the Emacs directory. Partial copies miss forge tokens that pull requests depend on. Screenshots of settings help when support asks for reproduction steps later. Check the in app storage readout when sizes look wrong on different releases.
Where Magit Status stores this, by platform
~/.emacs.d (magit prefs, repos in place)
Popups live in the Emacs directory with Magit prefs. Repos stay in clone folders. Copy the Emacs dir for moves. Match Magit releases.
Frequently asked questions
How do I move Magit settings to a new machine?
Copy the Emacs config with Magit settings to the new machine over USB, since transient state rebuilds from repos. Repos stay where cloned. Reinstall the matching Magit release first, since popup definitions shift between versions.
Does Magit copy my repos inside?
No. Magit reads repos in place from their clone folders without copying them in. The Emacs config holds Magit prefs plus popups. Reinstalls reset views but never touch repo contents. Back up the Emacs directory itself for moves.
Notice an outdated path? Let us know.