AndroidStudio上github使用

來源:互聯網
上載者:User

標籤:

AndroidStudio上github使用
  1. 要想在AndroidStudio上面使用github,首先要下載git工具

  2. 然後在AndroidStudio上面設定git工具的路徑
    File->Settings->Version Control->git

    點擊“Test”,出現對話方塊表示該路徑是git工具可執行檔的路徑

  3. 之後就要設定github賬戶資訊
    File->Settings->Version Control->github

    點擊“Test”,出現對話方塊表示帳號密碼正確串連github成功

  4. 在AndroidStudio上面建立一個工程,並將這個工程分享到github上面

    點擊中的“Share”就會在github上面為這個工程建立一個倉庫

    點擊中的“OK”就將該工程中的檔案push到github上面

  5. 添加或者修改一個檔案並push到github上面
    add修改檔案

    commit該檔案


    push到github倉庫

  6. 將所用添加或者修改的檔案push到github上面
    commit所有修改

    push到github倉庫

  7. 從github上面pull最新工程到自己的AndroidStudio中

  8. 其他動作
    其他各種操作都和git相似,要使用怎樣的git功能,就在AndroidStudio上面怎麼操作

AndroidStudio上github使用

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.