GIT安装教程

windows平台安装 git

安装包下载地址:https://gitforwindows.org/

官网慢,可以用国内的镜像:https://npm.taobao.org/mirrors/git-for-windows

下载后打开bash

输入 git --version 看是否有输出版本

linux下安装GIT

方式一:针对centos 8以下版本

yum install git -y

#查看Git版本

git --version

方式二:针对centos 8版本

#使用dnf工具:

dnf install git-all

#查看Git版本

git --version

但行好事,莫问前程!

本文来自博客园,作者:yangphp,转载请注明原文链接:https://www.cnblogs.com/ypeih/p/15629767.html

原文地址:https://www.cnblogs.com/ypeih/p/15629767.html