mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
27c88c870b
I recently made a change to remove some no longer needed .gitignore rules and generally improve the readability of that config file. Contributor @floam noted that this config file was still too permissive and ambiguous. This change adds additional refinements that should a) make it easier for someone to understand why a file/directory is being excluded, and b) make it less likely that a mistake results in a file being inadvertently excluded.
63 lines
1.4 KiB
Text
63 lines
1.4 KiB
Text
# Note that some of the patterns below should be in an individual's
|
|
# ~/.config/git/ignore file. For example, ".DS_Store" for people working on
|
|
# macOS (aka OS X). They're included here to minimize the likelihood of such
|
|
# artifacts inadvertently getting added to the project.
|
|
|
|
# File extensions that should never be checked in regardless of which project
|
|
# directory they reside in.
|
|
*.exe
|
|
*.o
|
|
*.xccheckout
|
|
*~
|
|
|
|
# These file names can appear anywhere in the hierarchy. They tend to be OS
|
|
# or build system artifacts.
|
|
.DS_Store
|
|
autom4te.cache
|
|
|
|
# Directories that only contain transitory files from building and testing.
|
|
# They are all at the top level of the project; hence the leading slash.
|
|
/DerivedData/
|
|
/build/
|
|
/doc/
|
|
/fish.xcodeproj/
|
|
/obj/
|
|
/share/man/
|
|
/test/
|
|
/user_doc/
|
|
|
|
# File names that can appear in the project root that represent artifacts from
|
|
# building and testing.
|
|
/FISH-BUILD-VERSION-FILE
|
|
/Makefile
|
|
/command_list.txt
|
|
/command_list_toc.txt
|
|
/compile_commands.json
|
|
/confdefs.h
|
|
/config.h
|
|
/config.h.in
|
|
/config.log
|
|
/config.status
|
|
/configure
|
|
/doc.h
|
|
/fish
|
|
/fish.pc
|
|
/fish_indent
|
|
/fish_key_reader
|
|
/fish_tests
|
|
/lexicon.log
|
|
/lexicon.txt
|
|
/lexicon_filter
|
|
/messages.pot
|
|
/toc.txt
|
|
/version
|
|
/xcodebuild.log
|
|
/xcuserdata
|
|
|
|
# File names that can appear below the project root that represent artifacts
|
|
# from building and testing.
|
|
/doc_src/commands.hdr
|
|
/doc_src/index.hdr
|
|
/po/*.gmo
|
|
/share/__fish_build_paths.fish
|
|
/tests/*.tmp.*
|