Tag: git
All the articles with the tag "git".
-
Cleaning Up Build Artifacts and Caches with git clean
How to use git clean to remove untracked files, build output, and caches from your working tree — with dry runs, exclusion patterns, and the flags that control what actually gets deleted.
-
Per-File Git Behavior with .gitattributes
How .gitattributes controls merge strategies, diff output, line endings, and export behavior on a per-file or per-pattern basis — solving whole categories of recurring git friction.
-
Finding When Code Appeared or Disappeared with Git Pickaxe
How to use git log -S and -G to trace exactly when a string or pattern was added, removed, or changed across the entire history of a repository.
-
Comparing Patch Series with git range-diff
How to use git range-diff to see what actually changed between two versions of a branch — before and after a rebase, or between PR iterations.
-
Attaching Metadata to Commits with git notes
How git notes let you annotate commits with additional context — deployment timestamps, review feedback, CI results — without altering commit SHAs or rewriting history.
-
Finding Regressions Automatically with git bisect
How git bisect uses binary search to identify the exact commit that introduced a bug — and how to fully automate the process with git bisect run.