Skip to content

Instantly share code, notes, and snippets.

@anubra266
Created May 3, 2021 22:35
Show Gist options
  • Select an option

  • Save anubra266/41c242d4d04adb4976d5ef894f08be6c to your computer and use it in GitHub Desktop.

Select an option

Save anubra266/41c242d4d04adb4976d5ef894f08be6c to your computer and use it in GitHub Desktop.
Git Ignore File on a local repo only
git update-index --assume-unchanged ./filePath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment