git
1.1、git简介
是什么 ?:a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
开发语言:C
官方主页:https://git-scm.com
1.2、通过包管理器安装git
操作系统包管理器安装命令
Windowsscoopscoop install git
WindowsChocolateychoco install -y git
macOSHomeBrewbrew install git
GNU/LinuxHomeBrewbrew install git
aptsudo apt-get install -y git
CentOSyumsudo yum install -y git
dnfsudo dnf install -y git
openSUSEzyppersudo zypper install -y git
Alpine Linuxapksudo apk add git

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm git
Gentoo LinuxPortagesudo emerge git

Windows中,git for windows提供该功能。

macOS中,也可以通过安装command-line-developer-tools获得该功能。

1.3、通过编译源码安装git
1.4、git命令
  • git status
  • git log
  • git add
  • git commit
  • git push
  • git pull
  • git branch
  • git tag
  • git checkout