简体   繁体   中英

Push android's project to GIT repo

I clone some libraries to my android's project, evertying works fine, when I finish my works I try to push it to my repo but it gives me that problem :

Counting objects: 1937, done. Delta compression using up to 8 threads. Compressing objects: 100% (1839/1839), done. Writing objects: 100% (1937/1937), 27.24 MiB | 5.83 MiB/s, done. Total 1937 (delta 703), reused 0 (delta 0) error: RPC failed; result=22, HTTP code = 413 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date

this my .gitignore :

.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/forecast-master
/headerlistview
/library-sliding-menu
/progresswheel-master
/stripe-android-master
/uil_library
/facebook-android-sdk-3-6-0
/android-rss-reader-library-master

when I delet those projects the push works correctly, so why to .gitIgnore dosen't work ? and why the push gives me the error above ?

答案是:删除推送后,我在子目录中找到了一个.git文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM