Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

gitignore already tracked files

# to ignore all files with changes detected
git rm -r --cached .
git add .
git commit -am "Remove ignored files"
Comment

gitignore files that are already tracked

git rm --cached <file> // Stop tracking file
git rm -r --cached <folder> // Stop tracking folder
Comment

PREVIOUS NEXT
Code Example
Shell :: how to create a text file in batch 
Shell :: powershell check file extension 
Shell :: magento shell reindex 
Shell :: ubuntu 20.04 how to check dns server 
Shell :: move files one level up linux 
Shell :: gif to webm ffmpeg 
Shell :: git reflog 
Shell :: get current branch name git 
Shell :: get ip of raspberry pi 
Shell :: windows where are pip packages installed 
Shell :: install next.js 
Shell :: git add and remove 
Shell :: cudatoolkit installation 
Shell :: install playstore anbox 
Shell :: spaceship zsh 
Shell :: vue router install 
Shell :: git remote set origin 
Shell :: how to make git commit in the past 
Shell :: flutter create command 
Shell :: bash float operation 
Shell :: git version 
Shell :: chocolatey installation 
Shell :: bash set ifs to space 
Shell :: redwood open prisma studio 
Shell :: push to git 
Shell :: install choco windows 10 
Shell :: zsh command not found nvm mac 
Shell :: youtube-dl uninstall mac 
Shell :: shell set environment variable 
Shell :: set wsl version to 1 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =