GitHub 概念複習

GitHub 進階概念

Arne Jonas Warnke

Content Lead for ML- and Data Engineering at DataCamp

你的講師

Arne Warnke

新興課綱主管

Picture of Arne Warnke

Stan Konkin

ML 內容開發者

Picture of Stan Konkin

GitHub 進階概念

課程總覽

 

  • 📋 GitHub Projects

 

  • 🔧 管理與驗證

 

  • 🔒 InnerSource 與安全性

Data team

GitHub 進階概念

Repositories(儲存庫)

 

  • 📁 repository(repo) 用來儲存並管理專案檔案

 

  • 🔒 可設為 privatepublic

 

  • 📝 包含 README.md,說明專案

 

Repository overview

GitHub 進階概念

分支(Branches)

 

  • 🌿 讓團隊在不影響主程式碼下開發任務

 

  • 🌟 主分支(master)為上線版本

 

  • 🐛 其他分支用於修 bug 與擴充功能

ecommerce 儲存庫畫面:

Our branches

GitHub 進階概念

Issues(議題)

 

  • 📌 追蹤問題

 

  • 📝 規劃任務與更新

 

  • 💬 管理並討論專案細節

Our issues

GitHub 進階概念

Pull request 與審查

 

Pull Requests

  • 🖊 提出變更

 

  • 💬 合併前先審查與討論

 

Reviews

  • 🛠 確保程式碼品質

 

  • ✅ 核准或要求修改

 

  • 🔒 僅審查通過的程式碼才會合併
GitHub 進階概念

合併(Merges)

 

  • 🔀 合併 pull request 以整合變更

 

  • ✅ 將新舊程式碼合併,完成審查

 

Merge

GitHub 進階概念

一起來練習吧!

GitHub 進階概念

Preparing Video For Download...