Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to remove a file from git but keep local and ignore file

  git rm --cached {someFile}
Comment

how to remove a file from git but keep local and ignore file

  git rm --cached -r {someDir}
Comment

PREVIOUS NEXT
Code Example
Shell :: cargo new lib 
Shell :: run MongoDB manually as a background process macos 
Shell :: vite js install 
Shell :: multi line comment in shell script 
Shell :: uninstall composer 
Shell :: Not pushed + most recent commit 
Shell :: github accout change on vsc 
Shell :: grep everything after a pattern 
Shell :: rsync backup 
Shell :: ignore something on github 
Shell :: how to edit crontab macos 
Shell :: rename branch remote 
Shell :: bash if file content equals 
Shell :: powershell open folder 
Shell :: zsh virtualenv 
Shell :: install docker on linux debian 
Shell :: linux hdparm 
Shell :: copy file to remote server 
Shell :: install docker centos 7 
Shell :: remove a file in ubuntu 
Shell :: NGINX systemd service file 
Shell :: restart bind centos 8 
Shell :: git commands to push to github 
Shell :: installing font awesome brand icons 
Shell :: PowerShell script block 
Shell :: how disabled cors in chrome 
Shell :: store env file in firebase functions 
Shell :: install vlc on fedora 
Shell :: install node on fish-shell 
Shell :: how to make a file executable in linux 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =