From c08b3a8ebde617e8a6d051d5f05874c8739fad8e Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 13 Apr 2024 04:28:20 +0200 Subject: [PATCH] Add `/public/assets/img/webpack` to ignore files again (#30451) Fixes https://github.com/go-gitea/gitea/issues/30442 It's inconvenient to have new untracked files show up in git when switching to older branches that had generated them. Introduce a list of such files and folders to gitignore and dockerignore. (cherry picked from commit 68271834d6ae6d397b5a2048f9e515ff53735994) --- .dockerignore | 3 +++ .gitignore | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.dockerignore b/.dockerignore index 86cc8f6087..a1611a1ca5 100644 --- a/.dockerignore +++ b/.dockerignore @@ -94,6 +94,9 @@ cpu.out /.air /.go-licenses +# Files and folders that were previously generated +/public/assets/img/webpack + # Snapcraft snap/.snapcraft/ parts/ diff --git a/.gitignore b/.gitignore index be8db3b51d..ebbed981e1 100644 --- a/.gitignore +++ b/.gitignore @@ -101,6 +101,9 @@ cpu.out /.go-licenses /.cur-deadcode-out +# Files and folders that were previously generated +/public/assets/img/webpack + # Snapcraft /gitea_a*.txt snap/.snapcraft/