# How do I release and roll back a Foundry prompt revision stored in Git?

Exam: AI-300 — Operationalizing Machine Learning and Generative AI Solutions
Knowledge domain: Design and implement a GenAIOps infrastructure
Updated: 2026-11-25T04:35:39.48446+00:00
HTML: https://learningpathx.com/faq/AI-300/ai300-promote-rollback-prompt-revision.html

## Also asked as

- How do I apply a reviewed Git prompt revision to Foundry and restore the prior one if needed?
- What should a Foundry application's Git-managed prompt deployment and rollback process do?

A Git merge changes the repository. The runtime changes when your configured deployment or loading process applies the approved revision. Review the prompt diff along with its hypothesis, comparison results, remaining failures, and compatible application configuration. Have the authorized release process load that exact bundle, then verify the active revision and run a small input/output contract check.

Keep the prior accepted prompt and the model, input assembly, tool, and parser configuration it depends on. Define who can restore it, what triggers rollback, and how to verify the restored version. Reverting only the prompt file can leave the runtime on a different configuration until a release actually applies the revision.

[Manage prompts for agents in Microsoft Foundry with GitHub - Training | Microsoft Learn](https://learn.microsoft.com/en-us/training/modules/prompt-versioning-genaiops/) · [Understand Microsoft Foundry agents and prompt versioning - Training | Microsoft Learn](https://learn.microsoft.com/en-us/training/modules/prompt-versioning-genaiops/3-foundry-agents-prompt-versioning) · [Develop safe prompt deployment workflows - Training | Microsoft Learn](https://learn.microsoft.com/en-us/training/modules/prompt-versioning-genaiops/5-prompt-workflow-development)

Source: [AI-300: Versioning Prompts and Comparing Variants with Git](https://learningpathx.com/news/ai-300-versioning-prompts-and-comparing-variants-with-git.html)
