Checking Which Branch a Local Branch TracksA 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 loca2 min read·sphrag.hashnode.dev10h ago
How I Decide What Belongs in a Saved CommandA 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 th1 min read·sphrag.hashnode.dev15h ago
Picking a Git Diff View Before Reviewing a PatchWhen 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 cha1 min read·sphrag.hashnode.dev1d ago
Why I Keep a Separate Terminal Pane for Watching LogsWhen 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 t1 min read·sphrag.hashnode.dev2d ago
What a Terminal Workspace Can Restore After a RestartA 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 wha2 min read·sphrag.hashnode.dev3d ago