1. 程式人生 > >AndroidStudio專案用Git上傳碼雲出問題

AndroidStudio專案用Git上傳碼雲出問題

AndroidStudio中的專案在上傳到碼雲的時候在最後一步push時,總會出現 push rejected這種錯誤情況。
————–這種情況我們找到存放Android專案的路徑
————–資料夾右鍵選擇Git Bash Here
————–彈出一個彈出框在裡面輸入(git pull origin master –allow- unrelated-histories)點選回車之後關閉
————–再次回到工程push問題就可以解決。