Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

remove folder from repo but keep locally

git rm -r --cached File-or-FolderName
git commit -m "Removed folder from repository"
git push origin master
Comment

delete folder only on repo without deleting it in local

git rm --cached file_to_remove.txt
Comment

PREVIOUS NEXT
Code Example
Shell :: bash home 
Shell :: undo git rebase 
Shell :: filter npm audit only high 
Shell :: gem uninstall version specific 
Shell :: wsl install 
Shell :: extract audio from video ffmpeg 
Shell :: git get project name 
Shell :: how to kill process in linux by name 
Shell :: remove all containers docker 
Shell :: Not Found - GET https://registry.npmjs.org/boostrap-vue - Not found 
Shell :: powershell convert to exe 
Shell :: conda install paraview 
Shell :: sudo cd 
Shell :: how to edit bashrc 
Shell :: free todo linux 
Shell :: flush dns mac 
Shell :: git view stash 
Shell :: Input is required, but Expo CLI 
Shell :: linux speed up video 
Shell :: copy whole directory command line 
Shell :: ubuntu update 
Shell :: git remove untracked files 
Shell :: check apache version ubuntu 
Shell :: terminal delete all files that start with 
Shell :: wkhtmltopdf blocked access to file 
Shell :: cat eof 
Shell :: git clone with subrepos 
Shell :: Kali - How to Uninstall Software on Kali Linux 
Shell :: Enable the containers feature in Windows Server 2019 
Shell :: install Homebrew on mac or linux 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =