You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# search for commits with changes to files with name <pattern>
git log -S<pattern> --stat
# search for commits with changes containing <pattern>
git log -G<pattern># show file without changing branch
git show <commitsha>:path/to/file
# check out old directory to tmp/
git --work-tree tmp/ checkout <commitsha> -- path/to/dir