> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gorules.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Repository

> Browse and manage your project's decision files with Git-like version control.

The Repository is your project's home for decision files. It provides a Git-like experience for browsing files, viewing commit history, and opening the visual editor.

## Repository overview

The main repository view displays:

| Element         | Description                                   |
| --------------- | --------------------------------------------- |
| Branch selector | Switch between branches (default: main)       |
| Search          | Find files by name                            |
| Open editor     | Launch the visual graph editor                |
| Latest commit   | Author, message, and timestamp                |
| Commit count    | Total commits on the current branch           |
| File tree       | Folders and files with their last commit info |

## File tree

Each file and folder shows:

* Name with folder/file icon
* Last commit message
* Associated change request (if any)
* Time since last modification

Click any folder to expand it, or click a file to open it in the editor.

## Opening the editor

Click "Open editor" to enter the visual editing environment where you can:

* Create and modify decision files
* Build rule graphs with drag-and-drop components
* Commit changes to the current branch
* Open the simulator to test rules

## Creating files and folders

In the editor, use the plus (+) button or right-click context menu:

| Action        | Description                         |
| ------------- | ----------------------------------- |
| File          | Create a new decision file          |
| Folder        | Create a directory for organization |
| From template | Start from a pre-built template     |
| Upload files  | Import existing decision files      |

### Context menu actions

Right-click any file or folder for additional options:

* New file / New folder
* Open
* Copy / Paste
* Rename
* Copy to / Move to
* Delete
* Reset (discard changes)
* Download

## Viewing commits

Click the commit count link to see the full commit history. Each commit entry shows:

* Commit message (links to detail view)
* Author
* Time ago
* Commit hash

### Commit detail view

Click any commit to see:

* Full commit message
* Associated branch
* Author and timestamp
* Actions menu
* Changed files

## Searching files

Use the search box to filter files by name. Results update as you type, making it easy to find specific rules in large projects.
