WorkNote: git-daemon-run & add remote repository to fetch

Host A, IP: ( fetch remote repository )
Host B, IP: ( remote repository, have a branch “uPad" )

First on Host B install git-daemon-run service (on Ubuntu/Debian) and follow the below steps.

read /usr/share/doc/git-daemon-run/README.Debian document, the article describe how do to setup a git daemon on your computer.

1. sudo ln -s ~/kernel/android-3.0/.git /var/cache/git/android-3.0.git  # create a syminks for git-daemon-run
2. touch ~/kernel/android-3.0/.git/git-daemon-export-ok  # create a tag file for git-daemon-run
3. su sv restart git-deamon  # restart git-deamon-run service

On Host A fetch the git repository step

5. git remote add MyRepo git://
6. git fetch MyRepo uPad:uPad


remote: Counting objects: 15, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 7), reused 0 (delta 0)
Unpacking objects: 100% (8/8), done.
From git://
* [new branch] uPad -> uPad



在下方填入你的資料或按右方圖示以社群網站登入: 標誌

您的留言將使用 帳號。 登出 /  變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 /  變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 /  變更 )


您的留言將使用 Facebook 帳號。 登出 /  變更 )

連結到 %s