“Comment exclure le répertoire.” Réponses codées

Gitignore excluant le dossier

# 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/*/*/*/*/*
Witty Wallaby

Comment exclure le répertoire.

# 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*
Razvan Manole

Réponses similaires à “Comment exclure le répertoire.”

Questions similaires à “Comment exclure le répertoire.”

Plus de réponses similaires à “Comment exclure le répertoire.” dans Shell/Bash

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code