Skip to content

Instantly share code, notes, and snippets.

@sofianinho
Created February 15, 2017 11:25
Show Gist options
  • Save sofianinho/9f007125d50512a50d20a48b590ee9fd to your computer and use it in GitHub Desktop.
Save sofianinho/9f007125d50512a50d20a48b590ee9fd to your computer and use it in GitHub Desktop.
set your .gitignore file in a git project
#First you need to commit any useful changes
#respect the syntax of .gitignore when writing it
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