~/posts//posts/using-github-api-to-list-down-github-pull-request-that-contained-sensitive-data ─ □ ×

Finding GitHub pull requests that leaked sensitive data — a script
If you've committed a secret to a repo, rewriting git history with BFG doesn't clean the pull requests — GitHub caches them separately. This is a TypeScript script that walks every PR, scans every commit's patch for secret patterns, and writes a CSV you can hand to GitHub support.
gitgithub
CREATED Apr 8, 2024 read →
~/posts//posts/managing-multiple-git-ssh-keys-for-git-on-windows ─ □ ×

Managing multiple Git SSH keys for GitHub on Windows
Working with multiple GitHub accounts on one Windows machine means one SSH key per account, plus an SSH config alias so git knows which key to use per host. Five steps — generate the keys, add them to the agent, write the config file, rewrite the remote URL, and upload the public keys.
gitgithubwindows
CREATED Jul 24, 2023 read →