Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

gitignore ignore everything except

# ignore everything in current directory
/*

# !pattern now negates the "ignore everything" and keeps 'pattern'

# keep .gitignore
!.gitignore 

# keep mydirectory, along with everything inside it 
!mydirectory/
Comment

.gitignore everything except

# Ignore everything
*

# But not these files...
!.gitignore
!script.pl
!template.latex
# etc...

# ...even if they are in subdirectories
!*/

# if the files to be tracked are in subdirectories
!*/a/b/file1.txt
!*/a/b/c/*
Comment

PREVIOUS NEXT
Code Example
Shell :: aws sli how to delete table 
Shell :: ubuntu see ram usage 
Shell :: install python for latex with dependencies 
Shell :: set trustedinstaller as owner 
Shell :: bash count duplicate lines in a file 
Shell :: less command 
Shell :: move running terminal process to background linux 
Shell :: install bootstrap angular 
Shell :: linux verzeichnis löschen 
Shell :: instal kubectl ubutu 
Shell :: replace all instances 
Shell :: wget from text file 
Shell :: dos delete 
Shell :: ubuntu 20.04 wifi adapter not found dell 
Shell :: tbomb github 
Shell :: patch curl 
Shell :: angular cli add ssl certificate 
Shell :: linux temp file 
Shell :: kill port 
Shell :: tailwind nodejs 
Shell :: unable to locate a java runtime that supports javaws 
Shell :: deploy netlify angular 
Shell :: ubuntu activate bluetooth 
Shell :: git move changes to new branch 
Shell :: install virtualbox ubuntu 
Shell :: force pull in git 
Shell :: delete all containers created x hours ago 
Shell :: git cheatsheet 
Shell :: docker build name 
Shell :: how to remove v4l2loopback 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =