1.Git安装部署

Git是分布式的版本控制系统,我们只要有了一个原始Git版本仓库,就可以让其他主机克隆走这个原始版本仓库,从而使得一个Git版本仓库可以被同时分布到不同的主机之上,并且每台主机的版本库都是一样的,没有主次之分,极大的保证了数据安全性,并使得用户能够自主选择向那个Git服务器推送文件了,其实部署一个git服务器是非常简单的。

Git官网:https://git-scm.com/

1.1在Linux上安装

1.安装Git
[root@git-node1 ~]# yum install git -y

2.配置git全局用户以及邮箱
[root@git-node1 ~]# git config --global user.name "nulige"
[root@git-node1 ~]# git config --global user.email "nulige@nulige.com"
[root@git-node1 ~]# git config --global color.ui true

3.检查git相关配置

[root@git-node1 ~]# git config --list
user.name=nulige
user.email=nulige@nulige.com
color.ui=true

1.2在Mac上安装

http://sourceforge.net/projects/git-osx-installer/ 

https://www.sourcetreeapp.com/

Git系列一之安装管理

1.3在Windows上安装

https://git-for-windows.github.io/

 

git命令大全

 

相关文章:

  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2021-08-18
  • 2021-12-12
  • 2021-07-04
  • 2021-12-03
  • 2021-09-17
猜你喜欢
  • 2021-12-23
  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
相关资源
相似解决方案