Content is user-generated and unverified.

Developer Program

Level 1 - Explorer

✅ วิธีใช้ GitHub Codespaces เพื่อสร้าง 5 commits


🧩 ขั้นตอนที่ 1: เปิด Codespace

  1. ไปที่ GitHub → เปิด repository ของคุณ
  2. คลิกปุ่ม <> Code (สีเขียว)
  3. เลือกแท็บ Codespaces → กด Create codespace on main

💡 หมายเหตุ: ครั้งแรกอาจต้องรอโหลด ~1 นาที


🧩 ขั้นตอนที่ 2: สร้างไฟล์ + commit ใน Terminal

Codespace จะเปิด Visual Studio Code Online มาให้คุณ
ที่ด้านล่างของจอมี Terminal พร้อมใช้งาน

ทำตามนี้ 5 รอบ:

✍️ รอบที่ 1

bash
echo "print('Commit 1')" > file1.py
git add file1.py
git commit -m "Commit 1"
git push

✍️ รอบที่ 2

bash
echo "print('Commit 2')" > file2.py
git add file2.py
git commit -m "Commit 2"
git push

✍️ รอบที่ 3

bash
echo "print('Commit 3')" > file3.py
git add file3.py
git commit -m "Commit 3"
git push

✍️ รอบที่ 4

bash
echo "print('Commit 4')" > file4.py
git add file4.py
git commit -m "Commit 4"
git push

✍️ รอบที่ 5

bash
echo "print('Commit 5')" > file5.py
git add file5.py
git commit -m "Commit 5"
git push

✅ ตรวจสอบผลลัพธ์

  1. กลับไปที่ GitHub → หน้า Repository ของคุณ
  2. คลิกที่ Commits → ควรเห็น 5 รายการ

🎯 สรุป

หลังจากทำตามขั้นตอนข้างต้นแล้ว คุณจะได้:

  • ✅ 5 ไฟล์ Python (.py)
  • ✅ 5 commits ใน GitHub
  • ✅ ประสบการณ์การใช้ GitHub Codespaces
  • ✅ ความเข้าใจพื้นฐานเกี่ยวกับ Git workflow

ขอแสดงความยินดี! 🎉 คุณผ่าน Level 1 - Explorer แล้ว!

Content is user-generated and unverified.
    Developer Program - Level 1 Explorer Guide | Claude