Skip to content

Instantly share code, notes, and snippets.

View cabrerahector's full-sized avatar

Héctor Cabrera cabrerahector

View GitHub Profile
@cabrerahector
cabrerahector / .gitignore
Created December 30, 2025 16:36
Example .gitignore file for WordPress Development
# Ignore everything in the root directory except the "wp-content" directory
# and this .gitignore file.
/*
!wp-content/
!.gitignore
!readme.md
# Ignore everything in the "wp-content" directory, except:
# "mu-plugins" and "themes" directory
wp-content/*