How to ignore project files with xcode git ?

Discussion in 'iPhone/iPad Programming' started by mikezang, Jan 6, 2013.

  1. macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #1
    I use a general .gitignore file to avoid useless files, but I am not sure how to ignore some files relevant to project itself in iOS6, there is no such files before iOS6, does anyone help me?
     
  2. thread starter macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #2
    Here is my .gitignore file
    Code:
    # hidden/temp files
    .DS_Store
    *.swp
    *~.nib
    *.a
    *.old
    *.new
    *.md
     
    # Build dir
    build/
     
    # Subversion dir
    .svn/
    
    # Xcode project files except for the project file
    *.xcodeproj/*
    *.xcodeproj/*/
    !*.xcodeproj/project.pbxproj
     
    # Windows image thumbnail file
    Thumbs.db
     
    # User-specific project settings
    *.mode1v3
    *.mode2v3
    
    and here is what I found files about Xcode project:
     

    Attached Files:

Share This Page