Skip to main content
  1. Learn
  2. Software Development
  3. Guides
  4. Git tutorial
  5. 如何使用 Git
  6. 如何在 Command Line 中使用 Git
  7. 安裝 Git
GuidesSoftware DevelopmentBacklog
Git

Project and code management together.

安裝 Git

在本教程中,您需要從 Git 網站下載 Git installer 到您的電腦上。

Windows

安裝後,前往「Start」選單 > 「All programs」 > 「Git 」> 「Git Bash」。

Mac

安裝後,在 Applications/Utilities 中開啟 Terminal。

要驗證是否已成功安裝 Git,請完成版本檢查。

您輸出的字串可能因安裝環境或版本而異。

$ git --version
  git version 2.37.1 (Apple Git-137.1)

現在您的電腦上已經有 Git 了!

Smarter teamwork, delivered

Get practical advice, workflow guides, and proven strategies to help your team adopt tools fast and stay organized.