Skip to content

Instantly share code, notes, and snippets.

View carl0zen's full-sized avatar

Carlo Zen carl0zen

  • Monterrey, Mexico
View GitHub Profile
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
name
@carl0zen
carl0zen / remove-env-from-history.sh
Last active August 29, 2023 20:40
Remove .env from commit history
// Add to .gitignore
printf "\n.env*" >> .gitignore
// Run this command
git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch .env" HEAD
// Force push
git push --force