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 :: skip ci gitlab 
Shell :: install mongodb ubuntu 
Shell :: dockerfile copy folder to container 
Shell :: get latitude and longitude based on user entered place android 
Shell :: install intellij 
Shell :: github color 
Shell :: ubuntu what is my ip address 
Shell :: kivy install ubuntu 
Shell :: bash script to get all git branches from remote 
Shell :: DNS_PROBE_FINISHED_NXDOMAIN linux 
Shell :: eliminare spooler di stampa 
Shell :: aws cli parse secretstring 
Shell :: start vagrant box 
Shell :: bashub 
Shell :: install WSL with Ubuntu 
Shell :: create dektop file in ubuntu 
Shell :: sqliteman linux 
Shell :: linux find type of desktop 
Shell :: pipeline command in linux 
Shell :: compress folder raspberry 
Shell :: msfvenom x64 windows reverse shell 
Shell :: how to provide 777 access recurssively unix 
Shell :: launch bash script at startup linux 
Shell :: how to set the push.default 
Shell :: view rpm info 
Shell :: install new kernel ubuntu 20.04 
Shell :: find and move bash 
Shell :: How to list unit files with systemctl command 
Shell :: open download folder in mac 
Shell :: avd manger permission need root 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =