Skip to content

Instantly share code, notes, and snippets.

@claudiu-marginean
Last active December 29, 2015 20:38
Show Gist options
  • Save claudiu-marginean/7724599 to your computer and use it in GitHub Desktop.
Save claudiu-marginean/7724599 to your computer and use it in GitHub Desktop.
Git Ignore

Git Ignore - Global

Path to this depends on you global git config "excludesfile".

Mine is: excludesfile = C:\\www\\gitignore_global.txt

#IDE project files
/.idea
#composer files and lib folder
/vendor
/composer.json
/composer.lock

Git Ignore - per project

This is located in: .git/info/exclude

# Dev local only files
/_dev*/
/_dev*.php

## Magento temp folders
media/
var/

## Magento External Modules
app/code/community/Aoe/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment