"unveil" folder in GIT

Asked

Viewed 161 times

5

I had an altered file in the vendor folder that was in gitignore, then I gave a message and I didn’t read it :( and gave a git -f add . and forced to add the file that was in gitignore, so he added the entire vendor folder.

The question is how do I remove this whole folder again from the versioning?

1 answer

6


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

This command does not delete the local copy.

  • thanks, it worked out.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.