Stash with message git
Stash only src/ with a descriptive name
git stash push -m 'wip: feature-x' -- src/
more git
all 45 commands →
Apply specific stash
git stash list && git stash apply stash@{2}
Cherry-pick a range of commits
git cherry-pick A^..B
Show who changed a line (blame)
git blame -L 10,25 --date=short src/main.py
Find commit that introduced a bug
git bisect start && git bisect bad HEAD && git bisect good v1.0
Show changed files between branches
git diff --name-status main..feature/x