Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation Management of Git Series 1

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

[TOC] 1.Git installation and deployment

Git is a distributed version control system. As long as we have an original Git version repository, we can let other hosts clone the original version repository, so that a Git version repository can be distributed to different hosts at the same time, and the version base of each host is the same, there is no primary or secondary distinction, which greatly ensures data security. And allows users to choose to push files to that Git server, in fact, the deployment of a git server is very simple.

1.1 install on Linux

1. Install Git

[root@git-node1 ~] # yum install git- y

two。 Configure git global users and mailboxes

[root@git-node1] # git config-- global user.name "xuliangwei" [root@git-node1] # git config-- global user.email "xuliangwei@foxmail.com" [root@git-node1 ~] # git config-- global color.ui true

3. Check git related configuration

[root@git-node1 ~] # git config-- listuser.name=xuliangweiuser.email=xuliangwei@foxmail.comcolor.ui=true1.2 is installed on Mac

Install Git on Mac using the graphical Git installation tool, as shown in figure 1-3-1, and download it at:

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

Figure 1-3-1

Git client graphics management tool under Mac (also available for windows), as shown in figure 1-3-2.

Download address https://www.sourcetreeapp.com/

Figure 1-3-2

1.3 install on Windows

Install Git on Windows, using the graphical Git installation tool, as shown in figure 1-3-3

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

Figure 1-3-3

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report