Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git remove folder remotely

git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master
Comment

remove folders from remote git

git rm -r --cached myFolder
Comment

remove folders from remote git

git rm -r one-of-the-directories // This deletes from filesystem
git commit . -m "Remove duplicated directory"
git push origin <your-git-branch> (typically 'master', but not always)
Comment

PREVIOUS NEXT
Code Example
Shell :: amend last commit message 
Shell :: An unhandled exception occurred: Collection "@nativescript/schematics" cannot be resolved 
Shell :: install classnames 
Shell :: bash: bundle: command not found 
Shell :: close port 
Shell :: change wp permission ubuntu 
Shell :: code server install 
Shell :: current year bash 
Shell :: download vs code in linux 
Shell :: remove mariadb 
Shell :: show the list of file of a commit 
Shell :: update git using cmd 
Shell :: mocha zsh: command not found: mocha 
Shell :: To install mailutils to send mail from linux centos terminal 
Shell :: expo typescript 
Shell :: pip access denied 
Shell :: time machine speed up 
Shell :: bleachbit command line install 
Shell :: sequlize create new migraion 
Shell :: install docker compose 
Shell :: turn off selinux centos 
Shell :: install composer mac 
Shell :: install adobe reader on ubuntu 
Shell :: how to clone my linux so all the installed packages 
Shell :: reset iptables ubuntu 
Shell :: react-native clean and rebuild 
Shell :: bash clock script 
Shell :: Brew was unable to install [php@7.1]. 
Shell :: git cli login 
Shell :: chmod directory and subdirectories 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =