The day-to-day Oxen workflow follows the same shape as git: stage whatβs changed, commit it, and inspect the history when you need to.Documentation Index
Fetch the complete documentation index at: https://docs.oxen.ai/llms.txt
Use this file to discover all available pages before exploring further.
Stage Files
Add files to a repository withoxen add. This copies the filesβ contents to the repositoryβs version store and stages the changes for commit. You can use absolute paths or paths relative to the repo root.
.oxenignore.
oxen add handles new, modified, and removed files and directories.
Oxen lets you version any data type β text, images, audio, video, parquet, etc. β in the same repository, and you interact with all of them through the same commands. Under the hood, Oxen stores type-specific file metadata to power richer features.
View Status
To see what is tracked, staged, modified, removed, or not yet added, useoxen status.
status rolls up directory-level changes and summarizes them.
You can paginate through staged files with the -s (skip) and -l (limit) flags. Run oxen status --help for the full list.
Commit Changes
Once changes are staged, commit them with a message.main branch.
After a commit, a copy of each fileβs contents lives in the repositoryβs version store (by default .oxen/versions/files). File and directory metadata are stored in the Merkle Tree, which mirrors the working directory structure.
View History
Show the commit history of your current branch withoxen log.
View Diffs
Oxen can compute and display diffs between files using the oxen diff command.dataset.csv in the working directory with its version in the HEAD commit. You can also diff different files against each other, files across revisions, or whole revisions against each other. See the diff concepts page for the full set of options.
Restore Files
To revert changes youβve made to a file in the working directory, useoxen restore. This restores the file to its version in the HEAD commit, and works on both modified and deleted files.
oxen restore will recursively restore the files inside.
To restore from a specific commit or branch, pass --source.
--staged.
Remove Files
To stage a file to be removed from the next commit, useoxen rm.
rm command.
To recursively remove a directory, use the -r flag.
--staged.