plzhans @plzhans

A blog documenting the troubleshooting behind things I've built.

GitHub LinkedIn code mail rss

Categories
Tags

Github

Encrypting .env Files with GPG for Safe Commits
Encrypting .env Files with GPG for Safe Commits A guide to encrypting .env files with GPG to prevent secret exposure when you need to commit them to Git. Covers everything from .gitignore handling to gpg encrypt/decrypt commands and setting a …
Git Feb 16, 2026
Signing Git Commits with GPG
Signing Git Commits with GPG Learn how to apply GPG signatures to Git commits and earn the Verified badge - from installing GnuPG and generating or exporting keys to enabling automatic commit signing, verifying locally, …
Git Feb 16, 2026
Using a Custom Domain with GitHub Pages
Using a Custom Domain with GitHub Pages This post summarizes the CNAME/A/AAAA record settings and the Pages Custom domain setup steps needed to connect a custom domain to GitHub Pages. It also covers the difference in how the CNAME file is …
Web Feb 10, 2026
Setting up multiple Git accounts ssh config alias vs gitconfig includeIf
Setting up multiple Git accounts ssh config alias vs gitconfig includeIf This guide explains how to route SSH keys with ~/.ssh/config aliases and how to split commit author settings per folder with ~/.gitconfig includeIf in a multi-account Git setup. Use it to reduce …
Git May 15, 2025
Accessing Git remotes over SSH: from key generation to registration
Accessing Git remotes over SSH: from key generation to registration A complete walkthrough for connecting to Git remotes via SSH. Compare HTTPS vs SSH, generate Ed25519 keys, set proper chmod permissions, register the public key on GitHub/GitLab, and verify with ssh …
Git Feb 16, 2025