Remove a Folder from Git
Tagged with: command, folder, git, reculsive, remove, rm
Friday, July 11th, 2008 09:41 PM
Remove a given folder from a Git repository…
git rm -r cache/
Remove a given folder from a Git repository…
git rm -r cache/
Remove two directories and their contents recursively
rm -rf dir1 dir2
Remove a directory called ‘dir’ and contents recursively
rm -rf dir
Moving, Coping and Deletion
svn mv file.php to_folder/ #Move
svn cp file.php to_folder/ #Copy
svn rm file.php #Deletion