プッシュに関係のないいくつかのEclipse生成ファイルを無視しようとしています。これが私のフォルダー構造です:
Project1/
.gitignore
extras/
..some stuff here
Project1/
bin
gen
libs
res
..and so forth
Eclipseはそのようなフォルダー構造を持たないことに夢中になっていて、プロジェクトをインポートしないため、外側のProject1の内側にある内側のProject1が必要です。git ignore は extras フォルダーでは機能するようですが、bin、および内部の Project1 フォルダー内の gen または anyhting では機能しないようです。Project1/bin のようなフォルダーを追加しようとしましたが、何も起こらず、git stil が変更に気づきました。
これが私のファイルです:
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
# generated files
bin
gen
extras
# Local configuration file (sdk path, etc)
local.properties
# Eclipse project files
.classpath
.project
project.properties
# Proguard folder generated by Eclipse
proguard/
# Intellij project files
*.iml
*.ipr
*.iws
.idea/
これは私の最初の android github プロジェクトなので、まだ学習中です。私の質問や仮定が間違っていても気にしないでください。ありがとうございました!