# Tool: Tìm Prompt Xử Lý Quy Trình Quản Lý Phiên Bản Git

> Làm chủ các thao tác lịch sử Git với Bộ tạo Prompt Quy trình Git của BOP Prompts. Được xây dựng cho Lead Developer và Kỹ sư Release, công cụ này xây dựng các chỉ thị prompt để giải quyết các xung đột merge phức tạp, thực hiện rebase tương tác gọn gàng, khôi phục các commit bị xóa thông qua git reflog và thiết lập chiến lược phân nhánh Trunk-Based hoặc GitFlow.

**Category**: prompts-code-design | **Target AI Models**: Gemini 3.6 Flash, GPT-4o

## Domain Parameters:
- `gitAction` (select): Tình huống & Ngữ cảnh lệnh Git (Default: "Rebase")
- `branchStrategy` (select): Chiến lược quản lý nhánh của nhóm (Default: "Trunk-Based")
- `stashSafety` (toggle): Tự động Stash thư mục làm việc (Default: "true")
- `targetBranch` (input): Tên nhánh mục tiêu thượng nguồn (Upstream) (Default: "main")

## Master Prompt Engineering Architecture (5 Pillars):
1. **Role & Persona**: Domain expert framing
2. **Task & Deliverable**: Primary objective & constraints
3. **Context & Parameters**: Technical specs & camera/stack parameters
4. **Negative Constraints**: Forbidden artifacts & bad practices
5. **Output Spec**: Section formatting & XML/Markdown structure

## Programmatic API Execution:
```http
POST /api/generate-prompt
Content-Type: application/json

{
  "toolSlug": "find-prompt-for-git-version-control-workflows",
  "rawPrompt": "Your raw concept here",
  "thinkingLevel": "HIGH"
}
```
