Day 2101
GPT4 is much better than gpt 4o
As of 2024-10-02 20:16 at least.
give me the ag command to look inside markdown and yaml files only
GPT4o1:
`ag --include='*.md' --include='*.yaml' --include='*.yml' 'search_pattern'`
GPT42:
`ag "search_pattern" --markdown --yaml`
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?..)