From fb719e4d108a1eba568c977926649a0c25f1e545 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 4 Aug 2020 11:01:53 -0700 Subject: [PATCH] .gitignore: Drop auto-generated content From [1]: Which file to place a pattern in depends on how the pattern is meant to be used. * Patterns which should be version-controlled and distributed to other repositories via clone (i.e., files that all developers will want to ignore) should go into a .gitignore file. ... * Patterns which a user wants Git to ignore in all situations (e.g., backup or temporary files generated by the user's editor of choice) generally go into a file specified by core.excludesFile in the user's ~/.gitconfig. Its default value is $XDG_CONFIG_HOME/git/ignore. If $XDG_CONFIG_HOME is either not set or empty, $HOME/.config/git/ignore is used instead. So editor files are not appropriate for the project's versioned-controlled .gitignore. We could keep the Go stuff, but it's not clear to me if we have tooling that generates any of those outside of the temporary build directories which already have manually-curated .gitignore entries. [1]: https://git-scm.com/docs/gitignore#_description --- .gitignore | 74 ------------------------------------------------------ 1 file changed, 74 deletions(-) diff --git a/.gitignore b/.gitignore index 7c504700d..9ced646ff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,77 +1,3 @@ # Temporary Build Files build/_output build/_test -# Created by https://www.gitignore.io/api/go,vim,emacs,visualstudiocode -### Emacs ### -# -*- mode: gitignore; -*- -*~ -\#*\# -/.emacs.desktop -/.emacs.desktop.lock -*.elc -auto-save-list -tramp -.\#* -# Org-mode -.org-id-locations -*_archive -# flymake-mode -*_flymake.* -# eshell files -/eshell/history -/eshell/lastdir -# elpa packages -/elpa/ -# reftex files -*.rel -# AUCTeX auto folder -/auto/ -# cask packages -.cask/ -dist/ -# Flycheck -flycheck_*.el -# server auth directory -/server/ -# projectiles files -.projectile -projectile-bookmarks.eld -# directory configuration -.dir-locals.el -# saveplace -places -# url cache -url/cache/ -# cedet -ede-projects.el -# smex -smex-items -# company-statistics -company-statistics-cache.el -# anaconda-mode -anaconda-mode/ -### Go ### -# Binaries for programs and plugins -*.exe -*.exe~ -*.dll -*.so -*.dylib -# Test binary, build with 'go test -c' -*.test -# Output of the go coverage tool, specifically when used with LiteIDE -*.out -### Vim ### -# swap -.sw[a-p] -.*.sw[a-p] -# session -Session.vim -# temporary -.netrwhist -# auto-generated tag files -tags -### VisualStudioCode ### -.vscode/* -.history -# End of https://www.gitignore.io/api/go,vim,emacs,visualstudiocode