[Git]我的.gitignore

经常使用git,而很多的文件是没有必要控制版本上传的,今天就贴在这里

  1. java的.gitignore
    ## COMMONS ###
    *.class
    **/target
    **/webapp/userfiles
    **/WEB-INF/classes
    **/logs/log*.log
    
    ### PACKAGE FILES ###
    *.war
    *.ear
    #*.jar
    
    ### MAVEN FILES ###
    target/
    
    ### ECLIPSE FILES ###
    bin/
    .settings/
    .project
    .classpath
    .metadata
    Servers
    
    ### IDEA FILE ###
    .idea/
    /idea/
    out/
    *.ipr
    *.iml
    *.iws
    
    ### STS FILES ###
    .apt_generated
    .classpath
    .factorypath
    .project
    .settings
    .springBeans
    .sts4-cache
    
    ### TEMP FILES ###
    *.log
    *.cache
    *.diff
    *.patch
    *.tmp
    
    ### SYSTEM FILES ###
    .DS_Store
    Thumbs.db
    
    ### Other FILES ###
    .svn
    .recommenders
    RemoteSystemsTempFiles
    

你可能感兴趣的:([Git]我的.gitignore)