安卓上的git服务器-gidder(git server on android)

最近准备搭建个git服务器给xcode用。看到自己的安卓平板,因而想搜索有没有安卓上的git server。
Thanks to google,总算搜到一个很好的软件: gidder , 点击进入google play下载地址

========================

11.13.更新:  使用256MB RAM的低端安卓手机也能使用.今晚我就用之前闲置的索爱U20i搭建了,

需要注意点就是,系统必须root后才能使用gidder.

要不然ssh连入时会提示超时.U20i小巧,都快有点怕丢了...我的xcode工程数据呐!

======================

废话不多说,直接看运行截图:

运行界面:

基本设置:



创建用户:



创建仓库:

给仓库增加用户权限:



MAC下终端使用git基本功能验证:

 

 

下面是mac上,使用git的简单操作,假定已经在gidder上面创建了工程proj:
localhost:proj cdlz$ mkdir o
localhost:proj cdlz$ cd o
localhost:o cdlz$ git clone ssh://zc@172.21.1.100:2222/proj.git
Cloning into 'proj'...
zc@172.21.1.100's password:
remote: Counting objects: 6, done
remote: Finding sources: 100% (6/6)
Receiving objects: 100% (6/6), 4.71 KiB, done.
remote: Total 6 (delta 0), reused 6 (delta 0)
localhost:o cdlz$ cd proj/
localhost:proj cdlz$ date >>a
localhost:proj cdlz$ git add .
localhost:proj cdlz$ git commit -m 's'
[master 9efd4a9] s
1 file changed, 1 insertion(+)
localhost:proj cdlz$ git branch
* master
localhost:proj cdlz$ git push origin master
zc@172.21.1.100's password:
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 326 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1)
remote: Updating references: 100% (1/1)
To ssh://zc@172.21.1.100:2222/proj.git
13aaf28..9efd4a9 master -> master
localhost:proj cdlz$

 

已有2条评论

  1. coolcdlz 2013-01-27 10:59 回复
    Your software is so good!~Thanks!
  2. Antoniy Chonkov 2013-01-25 06:51 回复
    I'm the author of Gidder. Thank you for your review.
| 2个评论