Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git remove tracked files without deleting

git rm --cached -r mydirectory
Comment

clear tracked files from git

git rm -r --cached src/.history/
Comment

remove tracked files from gitignore

git rm --cached <filename>
git commit -m "<Message>"
Comment

git remove tracked files without deleting

git update-index --skip-worktree file_path
Comment

PREVIOUS NEXT
Code Example
Shell :: Install ansible in alpine linux 
Shell :: force pull in git 
Shell :: bash hide file 
Shell :: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 
Shell :: windows how to access wsl from explorer 
Shell :: stop all docker containers 
Shell :: delete all containers created x hours ago 
Shell :: clear metro bundler cache 
Shell :: install prettier globaly 
Shell :: git cheatsheet 
Shell :: docker run in the background 
Shell :: install laravel globally ubuntu 
Shell :: git list remote branches 
Shell :: windows kill process 
Shell :: ubuntu vim-plug install 
Shell :: homebrew zsh completion 
Shell :: snap install package 
Shell :: install node using nvm windows 
Shell :: curl ssl verify false c 
Shell :: sed add line after match 
Shell :: ubuntu ram type 
Shell :: microsoft-todo-unofficial ubuntu 
Shell :: brew install mongodb 
Shell :: check if a variable is null in bash 
Shell :: substring in shell script 
Shell :: delete folder terminal mac 
Shell :: apt install xfce 
Shell :: kill a process at a port 
Shell :: how to tar 
Shell :: rsync with ssh key 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =