Skip to content

Instantly share code, notes, and snippets.

@henideepak
Created February 7, 2022 07:59
Show Gist options
  • Save henideepak/63551a1151ca31fc5f257f8a763a2b8c to your computer and use it in GitHub Desktop.
Save henideepak/63551a1151ca31fc5f257f8a763a2b8c to your computer and use it in GitHub Desktop.
.gitignore doesn't ignore files
gitignore file
git update-index --assume-unchanged .htaccess
To revert back:
git update-index --no-assume-unchanged .htaccess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment