Last active
March 28, 2017 01:03
-
-
Save lentiummmx/233e8e15ddf5152438259a79130fe6f8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Git ignore (.gitignore) file for Magento project | |
#- see: http://inchoo.net/magento/programming-magento/git-ignore-gitignore-file-for-magento-project/ | |
# My main idea for Magento related projects was this: | |
# - Do not add entire Magento to the repository. Reason for this is that we need speed, we do not wish to wait forever on push/pull actions on Git repository. Also, when you properly build theme/extension only relevant parts of your Magento projects are these few folders/subfolders, the rest of files can always be fetched from Magento archive file. | |
# - For the repository, add only few folders/sub-folders and files relevant to development (such as app/code/community/, app/code/local/, app/code/etc/modules/, app/design/frontend/default, skin/frontend/default/, etc…). This is where .gitignore file comes in place. | |
# - Before you pull the repository files on local computer, dump entire Magento files/installation (from either SVN channel or from archive file) to the local folder. | |
# - After you have dumped entire Magento to some local folder, pull the files from Git repository (overwriting the same existing local files). | |
# And here is my sample of Git’s .gitignore file: | |
app/code/community/Phoenix/ | |
app/code/core/ | |
app/design/adminhtml/default/default/ | |
app/design/frontend/base/ | |
app/design/frontend/default/default/ | |
app/design/frontend/default/blank/ | |
app/design/frontend/default/iphone/ | |
app/design/frontend/default/modern/ | |
app/design/install/ | |
app/etc/modules/Mage_All.xml | |
app/etc/modules/Mage_Api.xml | |
app/etc/modules/Mage_Bundle.xml | |
app/etc/modules/Mage_Centinel.xml | |
app/etc/modules/Mage_Compiler.xml | |
app/etc/modules/Mage_Downloadable.xml | |
app/etc/modules/Mage_Weee.xml | |
app/etc/modules/Mage_Widget.xml | |
app/etc/modules/Phoenix_Moneybookers.xml | |
app/etc/config.xml | |
app/etc/local.xml.additional | |
app/etc/local.xml.template | |
app/locale/en_US/ | |
app/Mage.php | |
cron.php | |
cron.sh | |
downloader/ | |
errors/ | |
favicon.ico | |
includes/ | |
index.php | |
index.php.sample | |
install.php | |
js/blank.html | |
js/extjs/ | |
js/lib/ | |
js/prototype/ | |
js/spacer.gif | |
js/varien/ | |
js/calendar/ | |
js/flash/ | |
js/index.php | |
js/mage/ | |
js/scriptaculous/ | |
js/tiny_mce/ | |
lib/3Dsecure/ | |
lib/flex/ | |
lib/googlecheckout/ | |
lib/LinLibertineFont/ | |
lib/PEAR/ | |
lib/Varien/ | |
lib/Zend/ | |
LICENSE_AFL.txt | |
LICENSE.html | |
LICENSE.txt | |
media/downloadable/ | |
media/import/ | |
nbproject/ | |
pear/ | |
php.ini.sample | |
pkginfo/ | |
shell/abstract.php | |
shell/compiler.php | |
shell/indexer.php | |
shell/log.php | |
skin/adminhtml/default/default/ | |
skin/frontend/base/ | |
skin/frontend/default/blank/ | |
skin/frontend/default/blue/ | |
skin/frontend/default/default/ | |
skin/frontend/default/french/ | |
skin/frontend/default/german/ | |
skin/frontend/default/iphone/ | |
skin/frontend/default/modern/ | |
skin/install/ | |
var/ | |
pear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment