
วิธีการจัดการ template ของ commit message ใน Git
เพื่อเป็นแนวทางในการเขียน commit message
โดยการใช้งานมีขั้นตอนดังนี้
ขั้นตอนที่ 1 สร้างไฟล์ template สำหรับกำหนดรูปแบบที่ต้องการ
[gist id="71fda983a9ee6d7359a9e504b5a32136" file="template"]ขั้นตอนที่ 2 ทำการ config template เข้าไปใน git config
[gist id="71fda983a9ee6d7359a9e504b5a32136" file="1.txt"]เท่านี้ก็ใช้งานได้แล้ว
ลองกำหนดรูปแบบของ commit message ดูครับ
น่าจะเป็นประโยชน์ต่อการทำงาน