blog

Thoughts on software development, tools, and workflows.

·5 min read

Building Custom OG Images with Next.js

Open Graph images are the preview cards that appear when you share a link on Twitter, LinkedIn, or Slack. Instead of relying on generic screenshots or static images, you can generate them dynamically using Next.js — styled with JSX, driven by your content's metadata.

·5 min read

Unveiling the Power of Git Reflog: A Guide to Mastery

git reflog is essentially a log or journal that records updates to the tips of branches and other references within your Git repository. Unlike git log, which shows the commit history of the current branch, `git reflog` focuses on the local movements of these references, including commits, resets, and merges. This feature is invaluable for recovering lost commits, understanding branch changes, and undoing mistakes, acting as a chronological diary of your Git operations.

·3 min read

Managing Different Git Configurations Across Multiple Folders

Discover how to apply unique Git settings across different projects using conditional includes and local configurations. This guide offers a straightforward method to maintain separate identities for personal and work-related repositories, ensuring proper user information in commits and simplifying Git management.

·3 min read

Exploring Git Worktrees: Enhance Your Development Workflow

Git worktrees provide a seamless way to isolate different lines of work without the overhead of cloning the repository multiple times or stashing and popping changes to switch branches.