Use Cases
π¦ Copy a Node.js project without node_modules
clean-mount cp /path/to/node-project /tmp/node-source-only
Since node_modules is typically in .gitignore, it simply wonβt exist in the mounted view.
π Archive a Python project without venv / __pycache__
clean-mount tar /path/to/python-project /tmp/project-source.tar.gz
Virtual environments, cache directories, and other gitignored files disappear automatically.
π Rsync only source files to a server
clean-mount exec /path/to/project -- rsync -avz . user@server:/deploy-path
Build artifacts, dependencies, and configs (if gitignored) are excluded from the transfer.
π€ Feed a clean project tree to an AI coding agent
clean-mount mount /path/to/project /tmp/clean --hide-git --hide-gitignore
# Point your AI agent at /tmp/clean
The agent only sees what matters β your actual source code.