Android開発のgitignoreついてメモ

.gitignoreの設定をすぐに移行できるように残しておく
※環境はMAC OS でも Windowsでも不要なものは排除しておく

.gitignore

# Mac不要ファイル
.DS_Store

# Windows不要ファイル
Thumbs.db

# Java class files
*.class

# built application files
*.apk
*.ap_
 
# files for the dex VM
*.dex
 
# generated files
bin/
gen/
 
# Local configuration file (sdk path, etc)
local.properties
 
# eclipse settings
.classpath
.project
.settings/

.gitignoreをプロジェクトへ反映

.gitignoreはアカウント直下に設定しておく事とする

git config --global core.excludesfile $HOME/.gitignore

その他おすすめの備忘録

Tagged with:
 

コメントを残す