Git - Common Operations

Only Delete from Git

To remove a file or directory from Git without deleting it locally (source):

git rm --cached -r directory_to_remove
Last updated: 24 December 2022

Back to previous page