Search commit diffs (pickaxe)
Find when a string was added or removed across all branches
git log -S 'functionName' --patch --all
- tool
- git45 commands
More git commands
-
git clone --filter=blob:none <url>Download commits and trees; blobs fetched on-demand (fast)
-
git worktree add ../hotfix-branch hotfix/urgentCheck out a branch in a separate directory without switching
-
git rebase -i HEAD~5Interactively reorder, squash, or edit last 5 commits
-
git cherry-pick abc1234Apply a specific commit from another branch
-
git stash push -m "WIP: feature X"Save working changes with a descriptive stash message