"devert" folder in GIT

4

I had an altered file in the vendor folder that was in gitignore, then gave me a message and I did not read it :( and I gave a git -f add and forced to add the file that was in gitignore, so it added all the vendor folder.

The question is how do I pull all this folder back from versioning?

    
asked by anonymous 07.08.2014 / 19:34

1 answer

5
git rm -r --cached <diretório>

This command does not delete the local copy.

    
07.08.2014 / 19:36