Skip to content

Instantly share code, notes, and snippets.

@AhmedHelalAhmed
Created September 12, 2018 12:02
Show Gist options
  • Select an option

  • Save AhmedHelalAhmed/fcef089f576475b5d05f59cbd999883a to your computer and use it in GitHub Desktop.

Select an option

Save AhmedHelalAhmed/fcef089f576475b5d05f59cbd999883a to your computer and use it in GitHub Desktop.
make global gitignore
// commands
cd
touch .gitignore_global
git config --global core.excludesfile ~/.gitignore_global
vim .gitignore_global
// for phpstorm
// in project if you add it to git already
git rm --cached .idea -r
// in .gitignore_global
.idea/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment