Skip to content

Instantly share code, notes, and snippets.

@bananita
Created July 8, 2020 17:13
Show Gist options
  • Save bananita/7c95316f2f45dcf614655d0a0da40686 to your computer and use it in GitHub Desktop.
Save bananita/7c95316f2f45dcf614655d0a0da40686 to your computer and use it in GitHub Desktop.
ignore local files without gitignore
git update-index --assume-unchanged FILENAME
git update-index --no-assume-unchanged FILENAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment