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

XenForo .gitignore

#1
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
 

NixFifty

Well-known member
#2
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.