2016-08-01 5 views
0

repo가 ​​다른 프로젝트 세트가 들어있는 폴더 인 경우 .gitignore에 넣을 내용은 무엇입니까? 그들은 Android Studio, Maven 's이며 많은 OS에서 개발되었습니다.힘내 :이 종류의 저장소에 대해 .gitignore 파일에 쓸 내용은 무엇입니까?

**/*~ 
*.com 
*.class 
*.exe 
*.o 
*.so 
*.DS_Store 
*.DS_Store? 
*._* 
*.Spotlight-V100 
*.Trashes 
*ehthumbs.db 
*Thumbs.db 
*desktop.ini 

*.apk 
*.ap_ 
*.dex 
*.class 
*bin/ 
*gen/ 
*out/ 
*.gradle/ 
*build/ 
*local.properties 
*proguard/ 
*.log 
*.navigation/ 
*captures/ 
*.iml 
*.idea/workspace.xml 
*.idea/libraries 
*/.idea/tasks.xml 

*target/ 
*pom.xml.tag 
*pom.xml.releaseBackup 
*pom.xml.versionsBackup 
*pom.xml.next 
*release.properties 
*dependency-reduced-pom.xml 
*buildNumber.properties 
*.mvn/timing.properties 
+1

는 각 프로젝트 폴더에있는 파일을 .gitignore 넣을 수 있습니다 첫째로 시작합니다. – njzk2

+1

이 목적을위한 웹 사이트가 있습니다. https://www.gitignore.io/ –

답변

0

나는 거의 빈 파일 먼저 가서 필요로 할 때 거기에 새 파일을 추가합니다 : 내가 생각하는 연구가이 라인을 넣어 한 후이 실수 또는 더 나은 아이디어를 가지고있는 경우

는 말씀 해주십시오.

예.

.classpath 
.project 
.settings 
*.class  
**/target 
*.orig  
*.iml  
.idea  
0

내 .gitignore :

*.iml 
.gradle 
/local.properties 
/.idea/workspace.xml 
/.idea/libraries 
.DS_Store 
/build 
/captures`