update gitweb
This commit is contained in:
32
docs/nas-skill/8-gitweb.md
Normal file
32
docs/nas-skill/8-gitweb.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
sidebar_position: 8
|
||||
|
||||
---
|
||||
|
||||
# 自建git仓库
|
||||
|
||||
Git 是一个开源的分布式版本控制系统,本节将为大家介绍如何在海纳思系统里创建一个 Git 仓库。
|
||||
|
||||
## 安装和卸载
|
||||
|
||||
### 安装
|
||||
|
||||
海纳思系统为大家制作了完整的一个搭建 Git 仓库安装包```gieweb-histb.deb```
|
||||
|
||||
在终端中输入如下命令即可安装完成:
|
||||
```bash
|
||||
sudo apt-get update
|
||||
sudo apt-get install gitweb-histb -y
|
||||
```
|
||||
|
||||
### 卸载
|
||||
|
||||
在终端中输入如下命令即可卸载:
|
||||
```bash
|
||||
sudo apt-get purge gitweb-histb -y
|
||||
sudo apt-get autoremove -y
|
||||
```
|
||||
|
||||
## 使用
|
||||
|
||||
## 注意事项
|
||||
Reference in New Issue
Block a user