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

# Version control

> Manage your project versions and revert to previous deployments. Use the restore message button to go back to any point in your project history.

## How version control works

Every time you send a message to HypeFrame and it makes changes to your project, a new version is created. You can restore your project to any previous version by using the restore message button that appears with each message.

## Restore to a previous deployment

You can revert your project to any previous state by restoring from a specific message:

<Steps>
  <Step title="Open your project">
    Enter the project where you want to restore a previous version.
  </Step>

  <Step title="Find the message">
    Scroll through your chat history to find the message that corresponds to the
    version you want to restore to. Each message represents a point in your
    project's history.
  </Step>

  <Step title="Click restore">
    Each message has a "Restore" button. Click the restore button on the message
    that represents the version you want to go back to.
  </Step>

  <Step title="Confirm restoration">
    HypeFrame will restore your project to that previous state. Your project will be updated to match how it was at that point in the conversation.
  </Step>
</Steps>

<Info>
  Restoring to a previous version doesn't delete your chat history. You can
  always restore to a more recent version or continue from where you left off.
</Info>

## Restore button on every message

Every message you send has a restore button. This means:

* **Full history access** - You can go back to any point in your project's development
* **Easy restoration** - Just click the restore button on the message you want
* **No version limits** - Access your entire project history through your chat messages

<Tip>
  Use the restore button to experiment freely. If something doesn't work out,
  you can always restore to a previous version.
</Tip>

## Multiple chats and version control

Each chat in your project has its own version history:

* **Separate histories** - Each chat maintains its own sequence of versions
* **Independent restoration** - You can restore to versions from any chat
* **Switch between chats** - Access different chat histories and restore from any of them

### Restoring from different chats

<Steps>
  <Step title="Open your project">
    Enter the project where you have multiple chats.
  </Step>

  <Step title="Switch to the chat">
    Navigate to the chat that contains the version you want to restore to. You can
    switch between different chats in your project.
  </Step>

  <Step title="Find the message">
    In that chat, find the message with the version you want to restore.
  </Step>

  <Step title="Restore">
    Click the restore button on that message. Your project will be restored to that version, regardless of which chat it came from.
  </Step>
</Steps>

## Changing versions

You can change your project version at any time:

* **Restore anytime** - Go back to any previous version whenever you need to
* **No restrictions** - Restore as many times as you want
* **Continue from restored version** - After restoring, you can continue building from that point

<Warning>
  When you restore to a previous version, any changes made after that point will
  be replaced. Make sure you want to go back before restoring.
</Warning>

## Best practices

* **Test before restoring** - Make sure the version you're restoring to is what you want
* **Use descriptive messages** - Clear messages make it easier to find the right version to restore
* **Create new chats for experiments** - Use multiple chats to try different approaches without losing your main work
* **Keep important versions** - Note which messages represent important milestones in your project

<Info>
  Version control through messages makes it easy to track your project's
  evolution and revert changes when needed. Each message is a checkpoint you can
  return to.
</Info>

## Troubleshooting

### Restore button not visible

If you don't see the restore button:

* Make sure you're looking at a message you sent (not system messages)
* Check that the message resulted in changes to your project
* Try refreshing the page
* Verify you're inside the project

### Restored to wrong version

If you restored to the wrong version:

* You can restore again to a different version
* Find the correct message and click restore
* Your project will update to that version

### Can't find the version I want

If you can't find the version you're looking for:

* Scroll through your chat history more carefully
* Check other chats in the project
* Look for messages that describe the changes you want
* Use the chat history to navigate through different versions

## Need help?

<Info>
  Questions about version control? Need help restoring to a previous version?
  Reach out at [contact@hypeframe.ai](mailto:contact@hypeframe.ai) for
  assistance.
</Info>
