Feature Request: Version Control User Memory

Resolved 💬 3 comments Opened May 31, 2025 by bloudraak Closed Dec 7, 2025

I have multiple devices, so I want to keep user generated artifacts in ~/.claude in sync between devices using git. This is also incredibly useful to version those artifacts, so I can revert back if changes don't have the desired effect.

Here's a few suggestions where Claude Code can make this much simpler

  • create a .gitignore file and exclude device specific directories (todos, statsig, projects, idea comes to mind).
  • when Claude Code is started, recommend changes that needs to be made to that .gitignore
  • optionally provide any assistance to commit changes, pull changes from a remote (if there is one); so things run smoothly when switching between devices.
  • consider that the directory is versioned control, and take that into considerations as its usage is expaned (add files to gitignore etc).

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗