Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git ignore

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage
opp.js

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
Comment

ignore file git

$ echo debug.log >> .gitignore
$ git rm --cached debug.log
rm 'debug.log'
$ git commit -m "Start ignoring debug.log"
Comment

git ignore files

just put the name or the path to your file in a .gitignore file, like this:

your_file.svg     <-- ignore the file your_file.svg
*.sql             <-- ignore any .sql files
ihm/test/         <-- ignore the whole "test" folder in "ihm"
Comment

how to git ignore

git reset name_of_file
Comment

PREVIOUS NEXT
Code Example
Shell :: git list stashes 
Shell :: recursive chown 
Shell :: kill a process with pid 
Shell :: ubuntu uninstall fonts 
Shell :: github error “Commit your changes or stash them before you can merge”? 
Shell :: powershell show only current directory 
Shell :: kubectl neat 
Shell :: check ssh connection history linux 
Shell :: powershell merge multiple text files 
Shell :: github delete last commit 
Shell :: opencv tutorial python 
Shell :: windows edit file cmdp 
Shell :: tar extract powershell 
Shell :: docker ftp client 
Shell :: grep not 
Shell :: install ionic native run 
Shell :: how to get list of files in a folder in batch script 
Shell :: clone branch in git 
Shell :: conditional dockerfile 
Shell :: how to uninstall sticky notes in ubuntu 
Shell :: solana install 
Shell :: Microsoft.PowerShell_profile.ps1 
Shell :: add file to gitignore 
Shell :: unmount linux disk 
Shell :: varible 
Shell :: run docker as non root 
Shell :: homebrew install 
Shell :: gcc alternatives 
Shell :: dar permiso de ejecucion linux 
Shell :: how to deactivate conda/Anaconda environment 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =