Quickly generate a .gitignore
file in your project.
Navigate to your project directory then run the following command in the terminal:
npx @msaaddev/gitignore
Generates a .gitignore
file with following contents in your project folder.
# NPM #
##########
# Ignore all directories called node_modules in current folder and any subfolders.
node_modules/
/node_modules/
# Packages #
############
*.7z
*.dmg
*.gz
*.bz2
*.iso
*.jar
*.rar
*.tar
*.zip
*.tgz
*.map
# Logs and databases #
######################
*.log
*.sql
*.env
# OS generated files #
######################
**.DS_Store*
ehthumbs.db
Icon?
Thumbs.db
._*
# Vim generated files #
######################
*.un~
# SASS #
##########
**/.sass-cache
**/.sass-cache/*
**/.map
# Composer #
##########
!assets/js/vendor/
wpcs/
/vendor/
# Bower #
##########
assets/bower_components/*
# Codekit #
##########
/codekit-config.json
*.codekit
**.codekit-cache/*
# Compiled Files and Build Dirs #
##########
/README.html
# PhpStrom Project Files #
.idea/
library/vendors/composer
assets/img/.DS_Store
# Visual Studio Project Files #
.vs/
# No lock files.
package-lock.json
yarn.lock
settings.dat
# next.js
/.next/
/out/
I have curated a detailed list of all the open-source projects I have authored. Do take out a moment and take a look.
- MIT © Saad Irfan
- Code of Conduct