Goal
ใช้งาน Git สำหรับ version control และ collaborative development
Scope
ใช้สำหรับ track การเปลี่ยนแปลงของ code, ทำงานร่วมกับ team, version control, rollback การเปลี่ยนแปลง, และ code review ผ่าน pull requests
Execute
เริ่มต้น
- อ่าน
guide/installation.mdสำหรับการติดตั้งและ setup - อ่าน
guide/quick-start.mdสำหรับเริ่มต้นใช้งาน - อ่าน
key-concepts/repository.mdเพื่อเข้าใจ repository structure
แนวคิดพื้นฐาน
- อ่าน
key-concepts/commit.mdสำหรับเข้าใจ commits - อ่าน
key-concepts/branch.mdสำหรับ branching - อ่าน
key-concepts/merge.mdสำหรับ merging - อ่าน
key-concepts/staging-area.mdสำหรับ staging area - อ่าน
key-concepts/head.mdสำหรับ HEAD reference - อ่าน
key-concepts/remote.mdสำหรับ remotes
Features ขั้นสูง
- อ่าน
key-concepts/rebase.mdและguide/rebase.mdสำหรับ rebase - อ่าน
key-concepts/stash.mdและguide/stash.mdสำหรับ stash - อ่าน
key-concepts/tag.mdและguide/tag.mdสำหรับ tags - อ่าน
key-concepts/submodule.mdและguide/submodule.mdสำหรับ submodules - อ่าน
key-concepts/reset.mdและguide/reset.mdสำหรับ reset - อ่าน
key-concepts/checkout.mdและguide/checkout.mdสำหรับ checkout
Advanced Features
- อ่าน
key-concepts/sparse-checkout.mdสำหรับ sparse checkout - อ่าน
key-concepts/worktree.mdสำหรับ worktrees - อ่าน
key-concepts/blame-grep-search.mdสำหรับ search tools
Best Practices
- อ่าน
principles/atomic-commits.mdสำหรับ atomic commits - อ่าน
principles/meaningful-messages.mdสำหรับ commit messages - อ่าน
principles/branch-strategy.mdสำหรับ branch strategies - อ่าน
principles/collaboration.mdสำหรับ collaboration - อ่าน
principles/security.mdสำหรับ security - อ่าน
guide/best-practices.mdสำหรับ best practices โดยรวม
Workflows
- ใช้
workflows/init-repository.mdสำหรับสร้าง repository ใหม่ - ใช้
workflows/clone-repository.mdสำหรับ clone repository - ใช้
workflows/commit-changes.mdสำหรับ commit changes - ใช้
workflows/push-changes.mdสำหรับ push changes - ใช้
workflows/pull-changes.mdสำหรับ pull changes - ใช้
workflows/manage-branches.mdสำหรับจัดการ branches - ใช้
workflows/merge-branches.mdสำหรับ merge branches - ใช้
workflows/resolve-conflicts.mdสำหรับแก้ conflicts
Rules
- ใช้
git initสำหรับ initialize - ใช้
git cloneสำหรับ clone - ใช้
git addและgit commitสำหรับ commit - ใช้
git pushสำหรับ push - ใช้ backticks สำหรับ commands
- ใช้ code blocks สำหรับ examples
- ใช้ ansi markdown diagrams สำหรับ flow และ architecture
Expected Outcome
- Version control ที่ reliable
- Collaboration ที่ efficient
- Code history ที่ tracked
- Rollback ที่ safe