使用android搭建git server

安装

安卓各大渠道搜索gidder

设置

Users

gidder -> setup -> users -> add new user

Repositories

gidder -> setup -> repositories -> add repository -> add permission

Client

增加ssh-dss支持

1
2
3
cd ~/.ssh
touch config && chmod 600 config
echo "HostkeyAlgorithms +ssh-dss" >> config

1
git clone ssh://username@ip:port/reponame.git