Windows環境下,Msysgit擷取Android源碼

來源:互聯網
上載者:User

Android源碼下載(Ubuntu下拉取Android源碼)
http://www.cnblogs.com/qianxudetianxia/archive/2011/05/29/2060636.html


最近在研究Launcher,所以不得Git源碼下來看。今天我講一下如何在Windows環境下Git源碼,還以(Launcher為例).

1.首先下載一個叫Msysqit工具。下面是。

http://code.google.com/p/msysgit/

2.安裝,一直下一步,安裝完畢。

3.建立一個檔案夾,用來存放我們Git下來的原始碼。

我在e:\下建立一個git檔案夾,如:

4.右擊git檔案夾,選擇Git Bash.將出來一個終端(類是CMD)。

5.尋找我們要下載原始碼的地址。Android的原始碼是放在下面地址下:

http://android.git.kernel.org/

6.尋找一下我們的Launcher2,在終端輸入如下code:

git clone git://android.git.kernel.org/platform/packages/apps/Launcher2.git

等上一小會,就大功告成了! 在git檔案夾下多了一個Launcher2工程。

時間有限我也就懶得貼圖了,大家諒解!

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.