Skip to content

Instantly share code, notes, and snippets.

@kristofk
Last active July 25, 2019 00:47
Show Gist options
  • Save kristofk/83c76dd03f6f9c3c907695d0c8bb25ad to your computer and use it in GitHub Desktop.
Save kristofk/83c76dd03f6f9c3c907695d0c8bb25ad to your computer and use it in GitHub Desktop.
Apply gitignore to already existing project.
#!/bin/sh
git rm -r --cached .
git add .
git commit -m "Fixed Gitignore"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment