ฝึก Version Control ด้วย Git อย่างมือโปร

หลักสูตรที่คุณจะได้เรียนการใช้ Version Control ด้วย Git อย่างถูกต้องแบบ Step by Step จากกรณีศึกษาที่เกิดขึ้นจริง
5.00 (2 reviews)
Udemy
platform
ภาษาไทย
language
Development Tools
category
ฝึก Version Control ด้วย Git อย่างมือโปร
6
students
3.5 hours
content
Oct 2024
last update
$79.99
regular price

Why take this course?

ในคำอธิบายทставบนอยู่เ↓ จะช่วยคุณเข้าใจจากกถอนที่รวม多ังและตามตอบให้ๆ:

  1. สร้าง Repository ของคุณเอง:

    • ใช้คำสั่ง git init เพื่อสร้าง repository ในโฟลเดียวหนึ่งใหม่บนของคุณ.
    • Clone ข้อมูลจาก repository ที่มีอยู่ใน GitHub โดย使用 git clone <repository-url>.
  2. Clone โปรเจ็ต์:

    • Clone โปรเจ็ต์จาก GitHub ไปยังของคุณบนระบบที่แนะนำ (Windows, macOS, Linux) เพื่อเริ่มต้นการทำงาน.
  3. จัดการไฟล์:

    • ใช้ git status เพื่อดูสถานะของไฟล์ในโปรเจ็ต์อยู่.
    • เพิ่มไฟล์ใน repository ด้วย git add <file> หรือ git add . สำหรับทุกข้อมูลที่มีการเปลี่ยนแปลง.
    • บันทึ�กความปลอดภัยของโปรเจ็ต์ด้วย git commit -m "Your commit message".
  4. คำสั่ง Git ที่จำเป็น:

    • add, commit, push สำหรับการเพิ่ม, บันทึ�ก, และย้อนข้อมูลไปยัง repository remote.
    • ใช้ pull เพื่อดึงถึงและการทำหนึ่งส่วที่ปลอดภัยจาก GitHub โดย git pull.
    • คำสั่งขั้นสูงเช่น git branch, git checkout, git merge สำหรับการรันตอブรานที่ซับซ้อน.
  5. การทำงานกับ Branches:

    • สร้างสภาพ Branch ใหม่ด้วย git branch <branch-name> และสื่อไปยังBranch นั้นด้วย git checkout <branch-name>.
    • Merge โค้ดจาก Branch อยู่ไปยัง Branch หลักจด main หรือ master ด้วย git merge <branch-name>.
    • กำหนด policy สำหรับ branch ใน repository remote ผ่าน GitHub.
  6. แก้ไข Merge conflict:

    • เมื่อพบว่า có merge conflict:
      • git status เพื่อดูไฟล์ที่มี conflic อยู่.
      • ใช้ tools or editor คนต้องการเพื่อแก้ปัญหา.
      • จบการแก้โค้ดและบันทึ�กไฟล์ที่แก้ไขไว้ด้วย git add ..
      • บันทึงข้อมูลทั้งหมดใช้ git commit -m "Conflict resolved".
  7. การปรับแต่ง repository:

    • Push ชุด rule สำหรับ GitHub ด้วย git push --set-upstream <repository-url> branch-name.
    • ปรัทความถูกต้องของ repository คนเหล่านี้ผ่าน setting ใน GitHub.
  8. การใช้ GitHub:

    • Push โค้ดไปยัง GitHub โดย git push.
    • Pull request ใน GitHub เพื่อแนะหับสภาพ kode จากรงานเพศ ต่างๆ.
    • Merge pull requests ที่ได้ผลตอบไปยัง master branch.
  9. Issues and Pull requests:

    • สร้าง issue ล่วงเนื้อγานหรือแจ้งปัญหา.
    • สร้าง pull request เพื่อแสดงการปรับแต่งของคุณที่ต้องการใช้.
  10. GitHub Actions:

    • ใช้ GitHub Actions เพลินแต่ง otomate task หลายปัจจัยเช่น ทดสอบ, รีแบบ, CI/CD.
  11. การอื่นๆ:

    • GitHub Flow มีเครื่องมือที่ช่วยให้การจัดการโค้ดขึ้นต้นคุบหน้าและรวมถึง repository remote ได้ง่ายด้วย commit ทั้งเสนอและmerge ในช่องแนะนำ.
  12. GitHub CLI:

    • GitHub CLI ปรับให้สามารถใช้คำสั่ง GitHub API ได้จากทุกที่อยู่ โดยมีไฟล์ config หรือตั้งค่าตรงจาก command line.

พวกเครื่องมือ Git และ GitHub น่าจบถึงที่สามารถปรับแต่งให้เพิ่มความยืดหลักและช่วยในการจัดการโค้دใหญ่อยู่ได้ หากคุณมี질문อinand ไม่เจ็บปู่ อยู่พร้อมให้คำแนะนำไปยังคุณ!

Loading charts...

4965242
udemy ID
07/11/2022
course created date
18/10/2024
course indexed date
Bot
course submited by