Apply stash by index git
Apply a specific stash entry without dropping it
git stash apply stash@{2}
more git
all 45 commands →
Find which commit introduced a bug
git bisect start && git bisect bad && git bisect good v1.0
Show file change history
git log --follow -p -- path/to/file.py
Undo last commit (keep changes)
git reset --soft HEAD~1
Clean untracked files
git clean -fd
Show branches merged into main
git branch --merged main