A Git repository is the git folder inside a project This repository tracks all changes made to files in your project, building a history over time Meaning,
ปกติแล้วนั้น git จะทำการ merge ให้อัตโนมัติ สำหรับการ pull การเปลี่ยนแปลงมาที่ local branch repository ซึ่งจะทำการสร้าง commit สำหรับการ merge ขึ้นมา ทำให้หลาย ๆ คนอาจจะไม่พอได้ผลการ สวัสดี! วันนี้เราจะพูดถึงระบบควบคุมเวอร์ชันที่เรียกว่า Git เริ่มต้นใช้งาน Git: คู่มือฉบับสมบูรณ์สำหรับมือใหม่ - 1 คุณไม่มีส่วนเกี่ยวข้องกับการเขียนโปรแกรมหากคุณไม่รู้ เข้าใจ Git แต่ข้อดีก็คือ
happyluck # หา commit ที่ต้องการยกเลิก git log # ใช้แป้นลูกศรเลื่อนดูในประวัติ # พอหา commit ที่คุณต้องการเจอ จดค่า hash ไว้ git revert # git จะสร้าง commit ใหม่ที่ใช้ยกเลิก commit Top 10 Git Commands ที่นักเขียนโปรแกรมควรรู้ · $ git init · $ git clone URL> · $ git clone username · $ git add file>