Skip to main content
  1. Learn center
  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 了!

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life