使用管理员创建项目

image.png
添加一个页面

image.png
上传及下载项目
git 客户端测试 clone 项目
[root@host-172-20-102-128 src]# git clone http://172.20.102.128/example-group/example-project.git
Cloning into 'example-project'...
Username for 'http://172.20.102.128': rookie
Password for 'http://rookie@172.20.102.128':
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
[root@host-172-20-102-128 src]# cat example-project/index.html
<h1>Example V1
</h1>
编辑并提交项目
~]# cd cd example-project/
example-project]# git config --global user.name "rookie"
example-project]# git config --global user.email "alexander_zz@foxmail.com"
example-project]# vim index.html
example-project]# cat index.html
<h1>Example V1 Example V2
</h1>
example-project]# git add index.html
example-project]# git commit -m "v2"
[master b94a02e] v2
1 file changed, 2 insertions(+), 2 deletions(-)
example-project]# git push

image.png
网友评论