Exact match:
git log -S "ff1c9fbf-c3b8-4da0-aa81-72b50b84f67b" --all
git show <commit_hash>or with a regex:
git log -G "function.*login" --allrestore the file
git checkout <commit_hash>^ -- path/to/fileExact match:
git log -S "ff1c9fbf-c3b8-4da0-aa81-72b50b84f67b" --all
git show <commit_hash>or with a regex:
git log -G "function.*login" --allrestore the file
git checkout <commit_hash>^ -- path/to/file