Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git stop tracking files matching pattern

# Update your .gitignore file – for instance, add a folder you don't want to track to .gitignore.

git rm -r --cached . # Remove all tracked files, including wanted and unwanted. Your code will be safe as long as you have saved locally.

git add . # All files will be added back in, except those in .gitignore.
Comment

PREVIOUS NEXT
Code Example
Shell :: linx command to enable web security in ubuntu 
Shell :: git config --system core.longpaths true premission denied 
Shell :: mana toolkit install 
Shell :: compile asm file from terminal 
Shell :: preserve bash history 
Shell :: remove last n characters from stdin 
Shell :: automatically install all dependences of a package in R 
Shell :: only migarte one table 
Shell :: debug chrome remote ssh 
Shell :: install oython on kali-rolling container 
Shell :: rails 6 action_mailbox:install not working 
Shell :: how to analyse a git repo 
Shell :: ubuntu add git 
Shell :: echo preserve  
Shell :: start Win-KeX in Seamless mode with sound support 
Shell :: is needed to run `file_system` for your system 
Shell :: shell script for creating a pod using helm 
Shell :: how to get an object based on a substring jq 
Shell :: bash date as d/m/y 
Shell :: -z option in shell script 
Shell :: how to install startx 
Shell :: pacman mirrorlist generator 
Shell :: unix sort du output by size 
Shell :: grep check line exists in file 
Shell :: read -r bash from file 
Shell :: cmd mac pdf reader 
Shell :: slack does not open xdg-open 
Shell :: powershell auto clicker script 
Shell :: head and tail command in linux 
Shell :: installing dlib library on windows 10 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =