Git ignoring files local-only without gitignore
TIL1:
./git/info/exclude
is your local.gitignore
outside the repository tree!git update-index --assume-unchanged .gitignore
makes git stop checking the changes for that file in the working tree.--no-assume-unchanged
to take it back.23
Finally a place for my local ignores that won’t appear in autocomplete suggestions for git add
and friends. In Pycharm I have changelists, and now I finally have a solution for my just-as-usual vim/git/CLI workflow as well.
BUT:
exclude
won’t work if the file is already tracked (says SO but for me it works?..)
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus