Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

gitignore exclude folder

# Ignore all directories, and all sub-directories, and it's contents:
*/*

#Now ignore all files in the current directory 
#(This fails to ignore files without a ".", for example 
#'file.txt' works, but 
#'file' doesn't):
*.*

#Only Include these specific directories and subdirectories:
!wordpress/
!wordpress/*/
!wordpress/*/wp-content/
!wordpress/*/wp-content/themes/
!wordpress/*/wp-content/themes/*
!wordpress/*/wp-content/themes/*/*
!wordpress/*/wp-content/themes/*/*/*
!wordpress/*/wp-content/themes/*/*/*/*
!wordpress/*/wp-content/themes/*/*/*/*/*
Comment

how to exclude .ide directory in gitignore

# Ignore the node_modules directory
node_modules/

# Ignore Logs
logs
*.log

# Ignore the build directory
/dist

# The file containing environment variables 
.env

# Ignore IDE specific files
.idea/
.vscode/
*.sw*
Comment

PREVIOUS NEXT
Code Example
Shell :: installing docker compose on ec2 
Shell :: xubuntu desktop 
Shell :: exit django shell 
Shell :: greeper contributor coin 
Shell :: how to search in git bash 
Shell :: Flutter - additional setup for linux 
Shell :: corewar 42 github 
Shell :: trickle usage 
Shell :: gatsby-plugin-feed-generator 
Shell :: prisjakt 
Shell :: see active apcahe conf file 
Shell :: linux borrar configuracion residual 
Shell :: bokura no kiseki wikipedia 
Php :: ajax add edit delete records in database using php 
Php :: php start session if not started 
Php :: laravel check version 
Php :: laravel Str::random 
Php :: return last insert id in codeigniter 
Php :: check if user is on mobile php 
Php :: remove html tags from string php 
Php :: laravel tinker update password 
Php :: php array unique array to string conversion 
Php :: How to check even or odd number in php 
Php :: show all terms of a custom taxonomy 
Php :: composer install ignore 
Php :: php routing htaccess 
Php :: view a pdf file in the browser using the php header function 
Php :: get term thumbnail 
Php :: php date format minus 1 day 
Php :: php pluck from array of objects 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =