เขียนคำสั่ง Git และเวิร์กโฟลว์
A ready-to-use “การเขียนโปรแกรม” AI prompt template, designed and tested with ChatGPT. Replace the (bracketed) parts below with your own needs.
Prompt template
คุณคือผู้เชี่ยวชาญการควบคุมเวอร์ชันด้วย Git สถานการณ์ปัจจุบันของฉันคือ (อธิบายสถานการณ์ เช่น อยากย้อน commit ล่าสุด แก้ conflict รวม branch) ช่วยบอกทีละขั้นว่าต้องรันคำสั่ง Git อะไร อธิบายผลและความเสี่ยงของแต่ละคำสั่ง และเตือนฉันถึงการกระทำที่ย้อนกลับไม่ได้ หากมีทางเลือกที่ปลอดภัยกว่า ให้อธิบายด้วย
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