1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XenForo .gitignore

Discussion in 'XenForo Development Discussions' started by Vincent Gabriel, Jan 22, 2014.

  1. Vincent Gabriel

    Vincent Gabriel Active Member

    For those who develop add-ons and use github to create repositories for those add-ons i've created a .gitignore file for xenforo to ignore the default system files. Wasn't sure where to post this so just adding it here as a thread.

    Code:
    # Folders
    data/**/*
    install/**/*
    internal_data/**/*
    
    # JS Folders
    js/flot/**/*
    js/jquery/**/*
    js/redactor/**/*
    js/swfupload/**/*
    js/xenforo/**/*
    js/index.html
    
    # Styles
    styles/default/xenforo/**/*
    styles/default/xenresource/**/*
    styles/default/index.html
    styles/index.html
    
    # Library
    library/Lgpl/**/*
    library/Minify/**/*
    library/Sabre/**/*
    library/XenForo/**/*
    library/XFCliImporter/**/*
    library/Zend/**/*
    library/.htaccess
    library/config.php.default
    library/config.php
    library/index.html
    
    # Root Files
    admin.php
    admindav.php
    css.php
    deferred.php
    fb_channel.php
    htaccess.txt
    index.php
    payment_callback.php
    rgba.php
    
     
  2. NixFifty

    NixFifty Well-Known Member

    Code:
    #############
    ## XenForo
    #############
    
    # Folders
    data/**/*
    install/**/*
    internal_data/**/*
    
    # JS Folders
    js/flot/**/*
    js/jquery/**/*
    js/redactor/**/*
    js/swfupload/**/*
    js/sortable/**/*
    js/xenforo/**/*
    js/index.html
    
    # Styles
    styles/default/xenforo/**/*
    styles/default/xenresource/**/*
    styles/default/index.html
    styles/index.html
    
    # Library
    library/Lgpl/**/*
    library/Minify/**/*
    library/Sabre/**/*
    library/XenForo/**/*
    library/XFCliImporter/**/*
    library/Zend/**/*
    library/.htaccess
    library/config.php.default
    library/config.php
    library/index.html
    
    # Root Files
    admin.php
    admindav.php
    css.php
    deferred.php
    fb_channel.php
    htaccess.txt
    .htaccess
    index.php
    payment_callback.php
    rgba.php
    proxy.php
    For 1.3.
     
    allewreK, JulianD and Deathstarr like this.

Share This Page