mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 03:21:49 +01:00
c08b3a8ebd
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)
122 lines
2 KiB
Text
122 lines
2 KiB
Text
# Emacs
|
|
*~
|
|
|
|
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
|
*.o
|
|
*.a
|
|
*.so
|
|
|
|
# Folders
|
|
_obj
|
|
_test
|
|
|
|
# IntelliJ
|
|
.idea
|
|
# Goland's output filename can not be set manually
|
|
/go_build_*
|
|
/gitea_*
|
|
|
|
# MS VSCode
|
|
.vscode
|
|
__debug_bin*
|
|
|
|
*.cgo1.go
|
|
*.cgo2.c
|
|
_cgo_defun.c
|
|
_cgo_gotypes.go
|
|
_cgo_export.*
|
|
|
|
_testmain.go
|
|
|
|
# folder for project related local files
|
|
/local/
|
|
|
|
*.exe
|
|
*.test
|
|
*.prof
|
|
|
|
*coverage.out
|
|
coverage.all
|
|
cpu.out
|
|
|
|
/modules/migration/bindata.go
|
|
/modules/migration/bindata.go.hash
|
|
/modules/options/bindata.go
|
|
/modules/options/bindata.go.hash
|
|
/modules/public/bindata.go
|
|
/modules/public/bindata.go.hash
|
|
/modules/templates/bindata.go
|
|
/modules/templates/bindata.go.hash
|
|
|
|
*.db
|
|
*.log
|
|
*.log.*.gz
|
|
|
|
/gitea
|
|
/gitea-vet
|
|
/debug
|
|
/integrations.test
|
|
|
|
/bin
|
|
/dist
|
|
/custom/*
|
|
!/custom/conf/app.example.ini
|
|
/data
|
|
/indexers
|
|
/log
|
|
/public/assets/img/avatar
|
|
/tests/integration/gitea-integration-*
|
|
/tests/integration/indexers-*
|
|
/tests/e2e/gitea-e2e-*
|
|
/tests/e2e/indexers-*
|
|
/tests/e2e/reports
|
|
/tests/e2e/test-artifacts
|
|
/tests/e2e/test-snapshots
|
|
/tests/*.ini
|
|
/tests/**/*.git/**/*.sample
|
|
/node_modules
|
|
/.venv
|
|
/yarn.lock
|
|
/yarn-error.log
|
|
/npm-debug.log*
|
|
/public/assets/js
|
|
/public/assets/css
|
|
/public/assets/fonts
|
|
/public/assets/licenses.txt
|
|
/vendor
|
|
/web_src/fomantic/node_modules
|
|
/web_src/fomantic/build/*
|
|
!/web_src/fomantic/build/semantic.js
|
|
!/web_src/fomantic/build/semantic.css
|
|
!/web_src/fomantic/build/themes
|
|
/web_src/fomantic/build/themes/*
|
|
!/web_src/fomantic/build/themes/default
|
|
/web_src/fomantic/build/themes/default/assets/*
|
|
!/web_src/fomantic/build/themes/default/assets/fonts
|
|
/web_src/fomantic/build/themes/default/assets/fonts/*
|
|
!/web_src/fomantic/build/themes/default/assets/fonts/icons.woff2
|
|
!/web_src/fomantic/build/themes/default/assets/fonts/outline-icons.woff2
|
|
/VERSION
|
|
/.air
|
|
/.go-licenses
|
|
/.cur-deadcode-out
|
|
|
|
# Files and folders that were previously generated
|
|
/public/assets/img/webpack
|
|
|
|
# Snapcraft
|
|
/gitea_a*.txt
|
|
snap/.snapcraft/
|
|
parts/
|
|
stage/
|
|
prime/
|
|
*.snap
|
|
*.snap-build
|
|
*_source.tar.bz2
|
|
.DS_Store
|
|
|
|
# Make evidence files
|
|
/.make_evidence
|
|
|
|
# Manpage
|
|
/man
|