Skip to content

Prariyavit/prariyavit.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Try git with team

echo "Hi"

How to work (for Collaborator)

  • ดาวน์โหลดโฟลเดอร์ && เข้าโฟลเดอร์
git clone https://github.com/Prariyavit/Prariyavit.github.io.git
cd Prariyavit.github.io
  • สร้าง branch แยก && เข้าไปที่ branch นั้น ถ้าไม่แยก branch = ข้าม (ทำใน main เลย)
git branch <ชื่อ branch>
git checkout <ชื่อ branch>
  • สร้างไฟล์ && ใส่ข้อความ
echo "Hello" > test.txt
  • แอดไฟล์เข้า stage && commit ข้อความ
git add test.txt
git commit -m "add test.txt"
  • อัพโหลด branch เข้า github server
git push origin <ชื่อ branch>

Collaborator