Android Studio 上傳GitHub項目失敗後的一些問題

來源:互聯網
上載者:User

標籤:分享   mina   rmi   lin   開發   進入   and   core   ready   

在Android Studio上傳項目到GitHub時候多上傳了了一些項目,想刪除,但是報諸如

Remote project is already on GitHub

一些亂七八糟的問題,而且,提示push的視窗也不見了。。。only xiete !

我的解決方式

第一步:在GitHub上刪除上傳失敗或是有問題的項目,setting-》delete。。。這裡不再詳細描述;

第二步:開啟工程所在的本地路徑,進入這個.git目錄(該目錄Windows下預設不顯示,需要修改查看-》顯示隱藏檔案);

就去之後修改 config 檔案,幹掉如下配置:

然後儲存config檔案。重新開啟Android Studio,在Terminal中運行"gradlew clean"成功之後,點擊“Share project on GitHub”,就不會出現其它問題了。因為此時已經回到了沒上傳之前的初始狀態。。。如果還不明白可以加QQ群 649313889 詢問。

 or 

 我的GitHub https://github.com/javakam/AndroidHeros

 一些沒用到但是還比較帶感的玩意。。。

 git "C:\Program Files\Git\bin\git.exe" -c core.quotepath=false remote add origin https://github.com/javakam/AndroidHeros.git
Stack Overflow : Remote origin already exists on ‘git push‘ to a new repository

 

Android Studio 上傳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.