Skip to content

Instantly share code, notes, and snippets.

@unitycoder
Forked from Vixxd/.gitignore
Created August 20, 2024 12:08
Show Gist options
  • Save unitycoder/31f17e7af0c1ae252880319bf91f8e2f to your computer and use it in GitHub Desktop.
Save unitycoder/31f17e7af0c1ae252880319bf91f8e2f to your computer and use it in GitHub Desktop.
Bakery Lightmapper .gitignore for Unity
########################################
# Bakery .gitignore
# Ignore: https://geom.io/bakery/wiki/index.php?title=How_do_I...#How_do_I_use_git.2Fcollab.2Fother_version_control_system_with_Bakery.3F
# Never ignore: https://geom.io/bakery/wiki/index.php?title=How_do_I...#How_do_I_share_a_scene_with_someone_who_doesn.E2.80.99t_have_Bakery_installed.3F
########################################
############# BAKERY ASSETS ############
# Ignore Bakery Assets folder
/[Aa]ssets/Bakery/*
# Never ignore these Bakery Asset files
# Unignore specific files in ignored subdirectory https://stackoverflow.com/a/32504500/2129422
!/[Aa]ssets/Bakery/ftLightmaps.cs
!/[Aa]ssets/Bakery/ftLightmapsStorage.cs
!/[Aa]ssets/Bakery/ftLocalStorage.cs
!/[Aa]ssets/Bakery/ftGlobalStorage.cs
!/[Aa]ssets/Bakery/BakeryProjectSettings.cs
############# BAKERY EDITOR ############
#Ignore Bakery Editor folder
/[Aa]ssets/Editor/x64/Bakery/*
#Unignore subdirectories only https://stackoverflow.com/a/18930104/2129422
!/[Aa]ssets/Editor/x64/Bakery/*/
#Re-ignore all *files* in subdirectories
/[Aa]ssets/Editor/x64/Bakery/hwtestdata/*
/[Aa]ssets/Editor/x64/Bakery/lightingDataChunks/*
/[Aa]ssets/Editor/x64/Bakery/shaderSrc/*
/[Aa]ssets/Editor/x64/Bakery/scripts/*
# Never ignore these Bakery Editor files
!/**/ftModelPostProcessor.cs
!/**/ftSavedPadding2.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment