gitblit仓库

1、端口

gitblit--verson目录下data/default.properties -- server.httpPort(1234)

 

 

2、默认密码:admin/admin

3、localhost:前面设置的端口(1234)

4、生成ssh-key 安装git bash

git config --global user.name "username"
git config --global user.email "mail@gmail.com"
ssh-keygen -t rsa -C "mail@gmail.com"

这样会在c:\users\你的用户名\.ssh\生成二个文件,打开pub文件,就是你需要的key

 

 

 

 

 

 

 

5、开放端口(默认29418\1234) 这一步不做,死活连不上。

 

这样基本上就OK了。

 

4 中 可以详细参考:

https://www.cnblogs.com/thesun/p/10384017.html

https://blog.csdn.net/qq_42899420/article/details/118568936

 

posted @ 2021-12-29 13:38  jiduoduo  阅读(223)  评论(0编辑  收藏  举报