Skip to content

Instantly share code, notes, and snippets.

@dvdopi
Created September 1, 2020 08:36
Show Gist options
  • Save dvdopi/4b39b4fb1ce72f8fefdce0ce97fe6451 to your computer and use it in GitHub Desktop.
Save dvdopi/4b39b4fb1ce72f8fefdce0ce97fe6451 to your computer and use it in GitHub Desktop.
add git ignore on already existing directory
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment