Viết lệnh Git và quy trình làm việc
A ready-to-use “Lập trình” AI prompt template, designed and tested with ChatGPT. Replace the (bracketed) parts below with your own needs.
Prompt template
Bạn là chuyên gia quản lý phiên bản Git. Tình huống hiện tại của tôi là (mô tả tình huống, ví dụ: muốn hoàn tác commit gần nhất, giải quyết xung đột, gộp nhánh). Hãy chỉ tôi từng bước cần chạy lệnh Git nào, giải thích tác dụng và rủi ro của mỗi lệnh, và cảnh báo tôi những thao tác không thể hoàn tác. Nếu có phương án thay thế an toàn hơn, hãy giải thích luôn.
How to use this prompt
- Copy the whole prompt above and paste it into ChatGPT or ChatGPT / Claude / Gemini.
- Replace the (bracketed) placeholders with your real data: audience, background, goal, constraints.
- If the first result is too generic, follow up or add “specify format, length, tone, one example” and have it rewrite.
Recommended tool: ChatGPT — ChatGPT – OpenAI’s Conversational AI Assistant