แสดงบทความที่มีป้ายกำกับ git แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ git แสดงบทความทั้งหมด

วันจันทร์ที่ 3 ตุลาคม พ.ศ. 2559

git for beginner

git เป็นเครื่องมือที่ใช้ในการทำพัฒนาซอฟต์แวร์เป็นทีม, ควบคุมเวอร์ชั่น, เก็บไฟล์ต่าง ๆ ที่โปรแกรมเมอร์ทุกคนควรรู้ วันนี้ มาใช้ git ในการเก็บ source code ที่เขียน และ ดึงมาใช้ แบบง่าย ๆ สำหรับผู้เริ่มต้น  ดังนี้
  1. สมัครสมาชิก  https://github.com/ ก่อน ถ้าสามารถใช้งานได้ฟรี (แต่ source code จะต้องเปิดเผยทั้งหมด) หรือถ้ามี email มหาวิทยาลัย สามารถใช้ education pack https://education.github.com/pack (จะสามารถตั้งเป็น private ได้) หลังจากสมัครเสร็จแล้ว ก็ให้ login เข้าไปสร้าง repository ได้
  2. ติดตั้ง program git client ในเครื่องผมใช้ตัวนี้ https://git-scm.com/download/win เวลาติดตั้งก็ next ไปเรื่อย ๆ เพียงเท่านี้ ก็พร้อมจะใช้งาน git ได้แล้ว
โดยผมจะแบ่งเป็น 3 วิธี คือใช้ผ่าน command line,  GUI (Sourcetree) และ ผ่าน Tool ของ Android Studio ดังนี้

วันอังคารที่ 31 พฤษภาคม พ.ศ. 2559

Eclipse - Git


Spring Boot Series:

Chapter1: Setup project Eclipse and Git

1. Create (Example: Spring boot project (install Spring Tools Suites 3.7.x))
    Spring Starter Project

2. View Git windows => Create local repository (Must created a repository at github.com)



3. Right click project => Team => Share Project => Finish


4. Right click at Git icon and => Commit... => Commit and Push




File -> Import...  -> Git -> Projects from project  (To import project)