Skip to content

Instantly share code, notes, and snippets.

@moebiussurfing
Last active May 3, 2020 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moebiussurfing/66811f406e586f5727721a4a2b3f5d2d to your computer and use it in GitHub Desktop.
Save moebiussurfing/66811f406e586f5727721a4a2b3f5d2d to your computer and use it in GitHub Desktop.
# rm all files
git rm -r --cached .
# add all files as per new .gitignore
git add .
# now, commit for new .gitignore to apply
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