Answers for "git exclude folder"

13

.gitignore

node_modules
.DS_Store
.env
Posted by: Guest on November-11-2019
11

gitignore folder

in .gitignore:
	folder/
Posted by: Guest on July-19-2020
0

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/*/*/*/*/*
Posted by: Guest on July-25-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language