พอดีนั่งทำ project อยู่แล้วรู้สึกว่าตอน commit git อยากมี standard สักอย่างในการ commit ซึ่งก็พอลองไปหาดูใน Google ก็เหมือนกับมีหลากหลายแบบมาก เลยมาถามความเห็นว่าแต่ละคนมีแนวทางในการ commit git โดยใช้ format อะไรเป็น standard กันครับ
Hiring! บริษัทที่น่าสนใจ
Carmen Software
Hotel Financial Solutions
Next Innovation (Thailand) Co., Ltd.
We are web design with consulting & engineering services driven the future stronger and flexibility.
KKP Dime
KKP Dime บริษัทในเครือเกียรตินาคินภัทร
Kiatnakin Phatra Financial Group
Financial Service
Fastwork Technologies
Fastwork.co เว็บไซต์ที่รวบรวม ฟรีแลนซ์ มืออาชีพจากหลากหลายสายงานไว้ในที่เดียวกัน
Thoughtworks Thailand
Thoughtworks เป็นบริษัทที่ปรึกษาด้านเทคโนโยลีระดับโลกที่คว้า Great Place to Work 3 ปีซ้อน
Iron Software
Iron Software is an American company providing a suite of .NET libraries by engineer for engineers.
CLEVERSE
Cleverse is a Venture Builder. Our team builds several tech companies.
Nipa Cloud
#1 OpenStack cloud provider in Thailand with our own data center and software platform.
Bangmod Enterprise
The leader in Cloud Server and Hosting in Thailand.
CIMB THAI Bank
MOVING FORWARD WITH YOU - CIMB is the leading ASEAN Bank
Bangkok Bank
Bangkok Bank is one of Southeast Asia's largest regional banks, a market leader in business banking
MuvMi (Urban Mobility Tech Co.,Ltd.)
Shape the future of urban mobility towards affordable, clean, and safe solutions
T.N. Digital Solution Co., Ltd.
TNDS has been involving in every first move of banking’s major digital transformation.
KBTG - KASIKORN Business-Technology Group
KBTG - "The Technology Company for Digital Business Innovation"
Siam Commercial Bank Public Company Limited
"Let's start a brighter career future together"
Icon Framework co.,Ltd.
Global Standard Platform for Real Estate แพลตฟอร์มสำหรับธุรกิจอสังหาริมทรัพย์ครบวงจร มาตรฐานระดับโลก
REFINITIV
The Financial and Risk business of Thomson Reuters is now Refinitiv
H LAB
Re-engineering healthcare systems through intelligent platforms and system design.
The Gang Technology Co., Ltd.
We're a Digital Agency that helps our customers transform their business into digital with ease.
LTMH
LTMH มุ่งเน้นการพัฒนาผลิตภัณฑ์ที่สามารถช่วยพันธมิตรของเราให้บรรลุเป้าหมาย
Seven Peaks
We Drive Digital Transformation
Wisesight (Thailand) Co., Ltd.
The Best Choice For Handling Social Media · High Expertise in Social Data · Most Advanced and Secure
MOLOG Tech
We are Modern Logistic Platform, Specialize in WMS, OMS and TMS.
Data Wow Co.,Ltd
We enable our clients to realize increased productivity by solving their most complex issues by Data
LINE Company Thailand
LINE, the world's hottest mobile messaging platform, offers free text and voice messaging + Call
LINE MAN Wongnai
Join our journey to becoming No.1 food platform in Thailand
แตก branch แล้วทำแต่ละ
bluezip Wed, 24/07/2019 - 15:45
แตก branch แล้วทำแต่ละ features ให้เสร็จและก็ merge เข้า production มั่ง
ผมเพิ่งย้ายมาใช้ https://www
armariya Wed, 24/07/2019 - 19:09
ผมเพิ่งย้ายมาใช้ https://www.conventionalcommits.org/en/v1.0.0-beta.4/ อันนี้ ผมว่าก็โอเคนะครับ อ่านง่าย
“fixed fn aaa”
bellpocket Wed, 24/07/2019 - 20:13
“fixed fn aaa”
ของผมไม่สนใจ commit
ZiiT Thu, 25/07/2019 - 11:06
ของผมไม่สนใจ commit description เพราะถือเป็น work in progress แต่จะไปเน้นที่ Pull Request (PR) แทน โดยมีรายละเอียดประมาณนี้
+1 น่าสนใจ
bellpocket Tue, 30/07/2019 - 09:14
In reply to ของผมไม่สนใจ commit by ZiiT
+1 น่าสนใจ
ผมว่า commit msg
ripzery Thu, 01/08/2019 - 22:08
In reply to ของผมไม่สนใจ commit by ZiiT
ผมว่า commit msg มีประโยชน์กับ reviewer อยู่ดีนะ
ใช่ครับ แต่มีประโยชน์แค่ใน
ZiiT Fri, 02/08/2019 - 11:26
In reply to ผมว่า commit msg by ripzery
ใช่ครับ แต่มีประโยชน์แค่ใน Pull Request นั้นๆ พอ Merge เข้าไปใน Master branch แล้ว สำหรับผมมันไม่มีประโยชน์แล้ว เพราะหลายๆครั้งจะเป็น Refactor xx, fix comment yyy
แต่ส่วนมากระบบมันก็ดึง commit
whitebigbird Fri, 02/08/2019 - 18:40
In reply to ใช่ครับ แต่มีประโยชน์แค่ใน by ZiiT
แต่ส่วนมากระบบมันก็ดึง commit message มาใส่ PR ไม่ใช่เหรอครับ?
ขึ้นอยู่กับว่าเราตั้งให้
ZiiT Sat, 03/08/2019 - 15:20
In reply to แต่ส่วนมากระบบมันก็ดึง commit by whitebigbird
ขึ้นอยู่กับว่าเราตั้งให้ Merge PR เข้า Master branch แบบไหนครับ
อันนี้ตัวอย่างของ Github https://help.github.com/en/articles/about-merge-methods-on-github
อันนี้ของตัวอย่าง Azure DevOps https://devblogs.microsoft.com/devops/pull-requests-with-rebase/
หมายถึงว่ามันจะดึง commit
whitebigbird Sat, 03/08/2019 - 17:20
In reply to ขึ้นอยู่กับว่าเราตั้งให้ by ZiiT
หมายถึงว่ามันจะดึง commit message มารอเอาไว้ก่อนที่จะกด create PR น่ะครับ แล้วเราก็สามารถจะ edit หรือใช้ commit message นั้นๆ ไปเลยก็ได้
แต่คิดไปคิดมา แบบที่คุณทำอ่ะเป็น practice ที่แม่นสุดแล้วครับ
ขึ้นอยู่กับ VCS hosting
ripzery Wed, 14/08/2019 - 21:08
In reply to หมายถึงว่ามันจะดึง commit by whitebigbird
ขึ้นอยู่กับ VCS hosting แต่ละเจ้าครับ ถ้า Bitbucket จะดึง commit msg มาเป็นค่า default ของ PR description แต่ถ้า Github จะไม่มีครับ ยกเว้นกำหนด
.github/pull_request_template.mdไว้ใน root directory ก็จะใช้ template นั้นแทนเรียกว่า squash merge นี่เอง
tg-thaigamer Sat, 03/08/2019 - 12:27
In reply to ของผมไม่สนใจ commit by ZiiT
เรียกว่า squash merge นี่เอง ปกติ ใช้ Merge pull request แล้วคอมเม้นต์คนอื่นทำมาหมดเลย ทำให้ตัว master ปนเปื้อนจริงๆ