Weekly reset

Scan all Git repositories in this folder and bring me up to date. Phase 1: Inspect only - Report repo name, current branch, working tree status, uncommitted changes, local branches, tracking status, ahead/behind status, stale branches, and branches whose upstream no longer exists. - Fetch remotes safely and identify stale remote-tracking refs that can be pruned. - Do not modify anything yet. Phase 2: Summarize - Summarize per repo: - uncommitted work needing a decision - safe cleanup candidates - recommended actions Rules - Do not discard code, stash, reset, delete branches, or push without my approval. - Do not touch protected branches: main, master, develop, dev, release, production. - Never delete the current branch. After I approve: - prune stale remote-tracking refs - delete only safe local branches that are already merged and no longer have an upstream - refresh main branches using fetch + fast-forward only

April 20, 2026 · 1 min · 148 words · Me

Obsidian + GitHub: Safe .gitignore Setup

Syncing Obsidian vaults with Git works great until machine-specific files create conflicts or you accidentally commit sensitive notes. This guide gives you two battle-tested .gitignore configurations and a safety checklist to avoid common pitfalls. Quick take: Use the Strict setup to eliminate config conflicts entirely. Add .gitattributes for cleaner diffs. Keep your repo private unless you’re building a public knowledge base. Recommended .gitignore A) Minimal (Keep plugin settings, drop noise) Keeps plugin settings and config across devices. Excludes cache and workspace files. ...

January 4, 2025 · 2 min · 316 words · Me

Managing Git Submodules: A Quick Guide

Git submodules are a powerful feature that allows you to include and manage other repositories as part of your main repository. This is especially useful for projects where you want to use external repositories (e.g., a custom Neovim configuration) while keeping them independent. In this post, we’ll cover how to set up, update, and manage Git submodules with a practical example. What Are Git Submodules? A submodule in Git is a pointer to a specific commit of another repository. It allows you to include that repository as a part of your main project without merging its content directly into your repository. ...

January 3, 2025 · 3 min · 464 words · Me