Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git stop tracking directory

	Step 1. Add the folder path to your repo's root .gitignore file.
path_to_your_folder/

	Step 2. Remove the folder from your local git tracking, but keep it on your disk.
git rm -r --cached path_to_your_folder/

	Step 3. Push your changes to your git repo.
    
// Taken from brilliant answer on 
// https://stackoverflow.com/questions/24290358/remove-a-folder-from-git-tracking
Comment

stop git from tracking a folder

git rm -r --cached path_to_your_folder/
Comment

PREVIOUS NEXT
Code Example
Shell :: curl ssl verify false 
Shell :: ho to go into a docker container 
Shell :: installing dolphin on ubuntu 
Shell :: install node 16.15.0 mac cmd 
Shell :: how to find empty directories in linux 
Shell :: node-gyp error on windows 10 
Shell :: npm ganache 
Shell :: jupyter kernel dies 
Shell :: bashrc file location in linux 
Shell :: change gunicor port and to https 
Shell :: screen recorder linux 
Shell :: force logrotate linux 
Shell :: batch copy silent 
Shell :: ubuntu 20 stop apache 
Shell :: install pi hole cmd 
Shell :: untar gzip file 
Shell :: copy file permission denied arch 
Shell :: change remote git url 
Shell :: ansible ignore tag 
Shell :: how to get the size of a file in linux 
Shell :: open port on linux 
Shell :: find show system info linux 
Shell :: powershell join array 
Shell :: nvidia driver ubuntu 20.04 
Shell :: network manger linux 
Shell :: undo git pull 
Shell :: ssh service running ubuntu 
Shell :: remote: Invalid username or password. github mac 
Shell :: install avro for linux 
Shell :: snap search package 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =