Thursday, 21 August 2014

Git - remove files/folders from REPO but not LOCAL

http://stackoverflow.com/questions/1143796/remove-a-file-from-a-git-repository-without-deleting-it-from-the-local-filesyste

To remove files:
git rm --cached [file1]

To remove folders:
git rm -r --cached [folder 1]



No comments:

Post a Comment