mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 00:24:08 +00: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)
115 lines
1.9 KiB
Plaintext
115 lines
1.9 KiB
Plaintext
# 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_*
|
|
|
|
# MS VSCode
|
|
.vscode
|
|
__debug_bin*
|
|
|
|
# Architecture specific extensions/prefixes
|
|
*.[568vq]
|
|
[568vq].out
|
|
|
|
*.cgo1.go
|
|
*.cgo2.c
|
|
_cgo_defun.c
|
|
_cgo_gotypes.go
|
|
_cgo_export.*
|
|
|
|
_testmain.go
|
|
|
|
*.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
|
|
|
|
/gitea
|
|
/gitea-vet
|
|
/debug
|
|
/integrations.test
|
|
|
|
/bin
|
|
/dist
|
|
/custom/*
|
|
!/custom/conf
|
|
/custom/conf/*
|
|
!/custom/conf/app.example.ini
|
|
/data
|
|
/indexers
|
|
/log
|
|
/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
|
|
/yarn.lock
|
|
/yarn-error.log
|
|
/npm-debug.log*
|
|
/public/assets/js
|
|
/public/assets/css
|
|
/public/assets/fonts
|
|
/public/assets/img/avatar
|
|
/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
|
|
|
|
# Files and folders that were previously generated
|
|
/public/assets/img/webpack
|
|
|
|
# Snapcraft
|
|
snap/.snapcraft/
|
|
parts/
|
|
stage/
|
|
prime/
|
|
*.snap
|
|
*.snap-build
|
|
*_source.tar.bz2
|
|
.DS_Store
|
|
|
|
# Make evidence files
|
|
/.make_evidence
|
|
|
|
# Manpage
|
|
/man
|