Skip to content

Instantly share code, notes, and snippets.

View EtherZa's full-sized avatar

Richard Pringle EtherZa

  • Perth, Australia
View GitHub Profile
@EtherZa
EtherZa / git-commit-comments
Created June 20, 2023 13:29 — forked from jeff1evesque/git-commit-comments
Change git comment character from '#' to ';'
git config core.commentChar ';'
@EtherZa
EtherZa / git-redact-filter.sh
Last active December 15, 2023 14:25
git filter to smudge/clean secrets stored in .ini
#!/bin/bash
# README
# Swap secrets for placeholders on commit/restore
#
# Copy this file to ~/scipts/git-redact-filter.sh
# chmod +x ~/scripts/git-redact-filter.sh
#
# Create ~/scripts/secret.ini
# populate with key=value