Skip to content

Latest commit

 

History

History
103 lines (70 loc) · 4.46 KB

README.th.md

File metadata and controls

103 lines (70 loc) · 4.46 KB

Read this in other languages.

English

Hacktoberfest EZ

PDD status Hacktoberfest

ไอเดียง่าย ๆ ในการเล่น Hacktoberfest ใน Github, รับ เสื้อฟรี กันได้ทุกปี!

ไอเดียการเปิด PR

  • เอาไอเดียมาใส่เพิ่มใน repo นี้ไง ! 😂
  • แก้ code formatting
  • แก้คำผิด (ลอง search หาคำว่า funcation ใน Github ดู เดี๋ยวรู้...)
  • แปลก readme.md เป็นภาษาที่ตัวเองถนัด
  • แก้ issue ตาม open source project
  • ลองไปดูที่ codetriage.com
  • ใส่ mini-game

คิดไม่ออก?

ก็ contribute ใน repo นี้ซะเลย (meta จัด ๆ ...)

  • แก้คำผิดถ้าหาเจอ 👀
  • ทำหน้า frontend
  • เพิ่มข้อมูลใน README
  • เพิ่ม tests, cli, Docker image ที่แสดงผลไอเดียการทำ PR
  • เพิ่มของใส่ list นี้

การมีส่วนร่วม

  • ไปเพิ่มหัวข้อใน PR Ideas แล้วเปิด Pull Request
  • หรือไปหาดู issues หาอันง่าย ๆ ทำ บาง issue ก็เอามาจาก PDD Puzzles

วิธีการเปิด Pull Request

Fork >> Clone >> NewBranch >> Edit >> Commit >> Push >> PullRequest

Fork

  1. กดปุ่ม Fork Alt text
  2. รอเสร็จ Alt text

Clone

  1. ก๊อปลิงค์ประเภท HTTPS จาก repo มา Alt text
  2. เปิด terminal แล้วพิมพ์คำสั่ง git clone [ก๊อปลิงค์มาวางตรงนี้] Alt text
  3. เข้าไปใน folder ชื่อ hacktoberfest_ez/ Alt text

สร้าง Branch ใหม่

  1. สร้าง branch ใหม่ด้วยการพิมพ์คำสั่ง git branch [ตั้งชื่อ branch ใส่ตรงนี้] Alt text
  2. ไปที่ branch นั้นด้วยการพิมพ์คำสั่ง git checkout [ตั้งชื่อ branch ใส่ตรงนี้] Alt text

Commit

ผ่าน VS Code

  1. กดปุ่ม stage all change & เขียน commit message Alt text
  2. กดปุ่ม Commit Alt text

ผ่าน terminal

  1. เปิด terminal แล้วพิมพ์คำสั่ง git add .
  2. พิมพ์คำสั่ง git commit -m [ใส่ commit message ตามใจชอบ]

Push

  1. กดปุ่ม Sync (bottom of vscode) Alt text

Pull Request

  1. กด Refresh หน้า hacktoberfest_ez ใน browser ของคุณแล้วกดปุ่ม "Compare & pull Request" Alt text

  2. เขียนคำอธิบายของ pull request นั้น ๆ แล้วกด "Create pull request" Alt text

  3. เรียบร้อย! Alt text

แหล่งการเรียนรู้

เข้าไปที่ github.com สมัครสมาชิก แล้วก็ไปหาอ่าน tutorial ตามหัวข้อต่อไปนี้ได้เลย:

  • how to fork the project
  • how to create a repository
  • how to clone the repository
  • how to make a pull request

อ่านเสร็จแล้วก็มาร่วมกันสร้าง Open Source community ในเทศกาล Hacktoberfest ได้เลย