Android Source 互相 sync

剛主管來問說我們central的android source是誰在維護的?我說沒有一個central repository,又不是SVN,為什麼需要Central的呢?剛測試一下,git這部分還滿方便的,先從android抓相同的source,接著修改完之後,使用git status, git commit把檔案commit到本地庫去。

如果我也需要對方的patch的話,就直接下 git pull username@ip:Path
[mtube@mtube-acer] ~/mydroid_cupcake/frameworks/base
$git pull USERNAME@IP:~/mydroid_cupcake/frameworks/base

[mtube@mtube-acer] ~/mydroid_cupcake/frameworks/base
$git push USERNAME@IP:~/mydroid_cupcake/frameworks/base

This entry was posted in 工作. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s