Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P Public Info
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Redmine
    • Redmine
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Tutorials
  • Public Info
  • Wiki
  • git eclipse guide

Last edited by Asis Unyapoth Nov 06, 2014
Page history

git eclipse guide

การใช้งาน git บน Eclipse

เท่าที่ลองคร่าวๆ เป็นประมาณนี้

  • ถ้าจะให้ดี ทางเรา (สรอ.) ควรสร้าง master branch ไว้ก่อน (แต่ถ้ามี develop branch แล้ว ก็ไม่ข้ามบาง step ข้างล่างได้)
  • developer ไปดึงไฟล์จาก master branch มา
  • เข้า submenu team -> switch to "new branch" เพื่อสร้าง branch ใหม่สำหรับการพัฒนา
  • push to upstream
  • copy source code และไฟล์อื่นๆ ที่มีอยู่เดิม (ถ้ามี) เข้าไปวางไว้ที่ project folder
  • commit
  • push to upstream เพื่อส่ง code เข้าไปเก็บใน develop branch เป็นระยะๆ
  • เมื่อพัฒนา/ทดสอบเสร็จแล้ว แจ้ง สรอ. เพื่อทำการ merge เข้า master branch ต่อไป
Clone repository
  • git eclipse guide
  • Home
  • new repo