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

git exclude folder

directory_to_exclude/
Comment

PREVIOUS NEXT
Code Example
Shell :: how to create an alias 
Shell :: tail remove newline 
Shell :: git config --list 
Shell :: Entire screen debian 
Shell :: laravel start kit authentication 
Shell :: install wmctrl 
Shell :: youtube video player react native 
Shell :: compiling c 
Shell :: conda install dvc 
Shell :: tailwindcss 
Shell :: export to path linux (pipenv) 
Shell :: Git command to Change Your Committer Name & Email Globally 
Shell :: what is ssh key in github 
Shell :: get the default path batch 
Shell :: vim change all spaces to tabs 
Shell :: oh-my-zsh 
Shell :: how to check whether a string contains a special character or not in bash 
Shell :: windows start shortcut cmd administrator 
Shell :: git squash commit 
Shell :: flutter android embedding check version 
Shell :: ruby install on fedora 
Shell :: GIT: change branch 
Shell :: copy files from local to host ssh 
Shell :: linux ls show full path 
Shell :: jq filter array 
Shell :: install stylelint 
Shell :: awk delimiter comma 
Shell :: terminal run sh file 
Shell :: docker image is not reseting 
Shell :: rm remote git 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =