Skip to content

Instantly share code, notes, and snippets.

@emailrhoads
Last active April 17, 2020 15:01
Show Gist options
  • Select an option

  • Save emailrhoads/a37675c38d8096e4b9a8c01f3ec8cfc5 to your computer and use it in GitHub Desktop.

Select an option

Save emailrhoads/a37675c38d8096e4b9a8c01f3ec8cfc5 to your computer and use it in GitHub Desktop.
[Ignore locally only] #git

Insted of using .gitignore add files to .git/info/exclude

code .git/info/exclude

If you already have files that are changed you'll need to set them as unchanged

git update-index --assume-unchanged .gitmodules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment