diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..46985b9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,81 @@ +# Version Tracking Ignore Rules for Git VCS +# https://git-scm.com/docs/gitignore +# +# Exclude files not suitable for version tracking in Git +# +# This file is based on The Common .gitignore Templates +# https://github.com/Lin-Buo-Ren/common-gitignore +# +# Copyright 2021 ๆž—ๅšไป(Buo-ren, Lin) +# SPDX-License-Identifier: CC-BY-SA-4.0 + +# Don't track regular Unix hidden files +.* + +# Do track Git configuration files +!.git* + +# Do track EditorConfig configuration files +# https://editorconfig.org/ +!.editorconfig + +# Do track pre-commit configuration files +# https://pre-commit.com/ +!.pre-commit-config.yaml + +# Do track Markdownlint configuration files +# https://github.com/DavidAnson/markdownlint +!.markdownlint.* + +# Do track Drone CI configuration files +# https://docs.drone.io/ +!.drone.yml + +# Do track REUSE configuration files +# https://reuse.software/ +!.reuse/ + +# Don't track common backup filename extensions +*~ +*.bak* +*.backup* +*.bk* +*.old* +*.orig* + +## Don't track common archive files +*.7z +*.bz2 +*.gz +*.tar* +*.xz +*.zip + +# Don't track binary image files +*.bmp +*.jpg +*.png + +# Don't track common export formats from Markdown +*.doc? +*.htm? +*.pdf + +# Don't track common program output logs +*.err +*.error +*.log +*.out +*.output + +# Don't track compiled Python code caches +*.pyc + +# Don't track Vagrant runtime directories +.vagrant/ + +# Don't track GNU gettext message catalog template +*.pot + +# Don't track GNU gettext machine-readable message catalogs +*.mo