การใช้งาน และ config github เบื้องต้น
- สมัครสมาชิก github ที่
- สร้าง Github Repository โดยเลือกที่
กรอกรายละเอียดให้ครบ หลังจากนั้นจะเห็นการแนะนำขั้นตอนการใช้งาน
#Global setup:
#Set up git
git config --global user.name "Chagridsada Boonthus"
git config --global user.email mr.tumcpe@gmail.com
#Next steps:
mkdir chagridsada-blog
cd chagridsada-blog
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin https://github.com/chagridsada/chagridsada-blog.git
git push -u origin master
#Existing Git Repo?
cd existing_git_repo
git remote add origin https://github.com/chagridsada/chagridsada-blog.git
git push -u origin master
#Importing a Subversion Repo?
#Push the repo
git remote add origin git@github.com:chagridsada/chagridsada-blog.git
git push origin master
#When you're done:
#Continue
- Download และ ติดตั้ง Git ได้ที่ - เพิ่ม public key เพื่อให้สามารถติดต่อกับ Github ได้โดย 1.สร้าง public key โดยดูขั้นตอนจาก 2.ไปที่หน้า profile เลือก 3.เลือกที่ 4.นำ public key ที่ได้มาใส่ แล้วบันทึก - ทดสอบสร้าง project ตามขั้นตอนที่ได้มาตอนแรกเป็นอันเสร็จ.
Saturday, October 16, 2010
Unknown


0 comments:
Post a Comment