diff --git a/.gitignore b/.gitignore index aa4e436..002a62a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,19 @@ -.cache -.vscode/* -!.vscode/tasks.json -!.vscode/launch.json -bin -obj -compile_commands.json +# ignore all dotfiles by default +.* + +# rubbish we don't want to track +~* +*~ +*.bak + +# ignore output files +*.o +*.d +*.log +/bin/ +/obj/ +/compile_commands.json + +# unignore dotfiles that we'd like to keep +!/.github/ +!/.vscode/