# View Diff History

Quickly track the changes in your project locally. Allowing you to have all the advantages of git version control on remote files.

Along with every change, BLACKBOX AI will generate a brief description you can use to have a better understanding of the evolution of your project.

**How is this helpful?**

> Easily rollback your broken code to a working state

> Debug your project using the history & descriptions to track the error

> Review previous code that was done.

To use it, you can just have to open the file you want to compare click on the “View Diff” button on the BLACKBOX AI menu.

<figure><img src="/files/rO24xwwesZsEUZrTYPrl" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.blackbox.chat/blackbox-ai-1/blackbox-ai/extensions/blackbox-ai-on-vscode/vscode-extension/view-diff-history.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
