#----------------------------------------------------------------------------------------------------------------------- # FAQ SECTION (docs) #----------------------------------------------------------------------------------------------------------------------- # Q: Can I fully overwrite this file? # A: YES BUT: you MUST ensure **/dot-git/ gets ignored/excluded # Q: How to sync from my .$LAYER_NAME/.geetinclude? # A: run `$GEET_ALIAS sync` or `.$LAYER_NAME/bin/git-sync.sh` #----------------------------------------------------------------------------------------------------------------------- # DEFAULT INCLUDE SECTION (optional) # this section excludes everything, then adds back in some tools #----------------------------------------------------------------------------------------------------------------------- # ignore everything * # allow root folder !*/ # allow the template repo folder !.$LAYER_NAME/ # but ignore everything in it .$LAYER_NAME/* # except allow what we whitelist !.$LAYER_NAME/geet.sh !.$LAYER_NAME/.geethier !.$LAYER_NAME/.geetinclude !.$LAYER_NAME/.geetexclude !.$LAYER_NAME/template-config.env !.$LAYER_NAME/parent.gitignore !.$LAYER_NAME/geet-git.sh !.$LAYER_NAME/README.md !.$LAYER_NAME/pre-commit/* !.$LAYER_NAME/parent-git-info-exclude # exclude git ref, that is ONLY for the app repo .$LAYER_NAME/.git-ref.env #----------------------------------------------------------------------------------------------------------------------- # AUTOGENERATED INCLUDE SECTION (optional) # now add back in contents from .geetinclude, just flipped #----------------------------------------------------------------------------------------------------------------------- # GEETINCLUDESTART # Whoops! either .$LAYER_NAME/.geetinclude is empty or .$LAYER_NAME/.geetinclude hasn't been synced # GEETINCLUDEEND #----------------------------------------------------------------------------------------------------------------------- # MANUAL EXCLUDE SECTION # treat this part as your standard .gitignore, if you want to operate on an exclude basis vs an include basis # typically either add to this section OR use .geetinclude, not both # technically you could use both this section and your .geetinclude, but why? #----------------------------------------------------------------------------------------------------------------------- #----------------------------------------------------------------------------------------------------------------------- # MANDATORY EXCLUDE SECTION (required) # we must never ever commit these files/folders #----------------------------------------------------------------------------------------------------------------------- **/dot-git/ **/untracked-template-config.env !.$LAYER_NAME/semitracked-template-config.env