1. Home
  2. Git
  3. Remove folder

This command will stop git from tracking a directory but it will not delete the files from the file system. -r flag (recursive) instructs git to remove all files in the direcory.

#git#remove
git rm --cached somedirecory/ -r
copy
Full Git cheatsheet