---
title: "shadow dragon (@sphrag) | Hashnode"
description: "https://sphrag.com. Read the latest articles by shadow dragon on Hashnode."
url: "https://hashnode.com/@sphrag"
---

@sphrag

# shadow dragon

@sphrag · Joined April 2026

https://sphrag.com

### [Checking Which Branch a Local Branch Tracks](https://sphrag.hashnode.dev/checking-which-branch-a-local-branch-tracks?utm_source=hashnode&utm_medium=feed)

A pull or push is easier to reason about once you know which upstream branch your local branch tracks. I check that whenever I come back to a repository with several similarly named branches. The loca

2 min read · [sphrag.hashnode.dev](https://sphrag.hashnode.dev/checking-which-branch-a-local-branch-tracks?utm_source=hashnode&utm_medium=feed)

[10h ago](https://hashnode.com/posts/checking-which-branch-a-local-branch-tracks/6b054d7cab6034ce18b80f11)

### [How I Decide What Belongs in a Saved Command](https://sphrag.hashnode.dev/how-i-decide-what-belongs-in-a-saved-command?utm_source=hashnode&utm_medium=feed)

A command in my shell history only needs to make sense today. A saved command should still make sense when I open the project again a month later. Keep inputs visible For a report generator, I keep th

1 min read · [sphrag.hashnode.dev](https://sphrag.hashnode.dev/how-i-decide-what-belongs-in-a-saved-command?utm_source=hashnode&utm_medium=feed)

[15h ago](https://hashnode.com/posts/how-i-decide-what-belongs-in-a-saved-command/6b04fea8f9c68e384ff20a30)

### [Picking a Git Diff View Before Reviewing a Patch](https://sphrag.hashnode.dev/picking-a-git-diff-view-before-reviewing-a-patch?utm_source=hashnode&utm_medium=feed)

When a change touches several files, I start with a narrow diff. First I check whether the change is staged, unstaged, or present in both places. Then I open one file and review the reason for the cha

1 min read · [sphrag.hashnode.dev](https://sphrag.hashnode.dev/picking-a-git-diff-view-before-reviewing-a-patch?utm_source=hashnode&utm_medium=feed)

[1d ago](https://hashnode.com/posts/picking-a-git-diff-view-before-reviewing-a-patch/6b03fa9e8a673534dae85407)

### [Why I Keep a Separate Terminal Pane for Watching Logs](https://sphrag.hashnode.dev/why-i-keep-a-separate-terminal-pane-for-watching-logs?utm_source=hashnode&utm_medium=feed)

When I switch between repositories, I want to keep the output from a long-running process separate from the commands I type while investigating. Otherwise a useful error can disappear into unrelated t

1 min read · [sphrag.hashnode.dev](https://sphrag.hashnode.dev/why-i-keep-a-separate-terminal-pane-for-watching-logs?utm_source=hashnode&utm_medium=feed)

[2d ago](https://hashnode.com/posts/why-i-keep-a-separate-terminal-pane-for-watching-logs/6b025c2953bb75a0c4262f85)

### [What a Terminal Workspace Can Restore After a Restart](https://sphrag.hashnode.dev/what-a-terminal-workspace-can-restore-after-a-restart?utm_source=hashnode&utm_medium=feed)

A project can look familiar after a restart even though its processes are gone. I find it useful to separate the workspace configuration from the state that existed inside a running session. Check wha

2 min read · [sphrag.hashnode.dev](https://sphrag.hashnode.dev/what-a-terminal-workspace-can-restore-after-a-restart?utm_source=hashnode&utm_medium=feed)

[3d ago](https://hashnode.com/posts/what-a-terminal-workspace-can-restore-after-a-restart/6b01a9509211d62bcb3383ea)
