Last active
March 18, 2026 15:37
-
-
Save inouire/7d5c048ba71c11f36bd9f9ac61ae2316 to your computer and use it in GitHub Desktop.
Revisions
-
inouire revised this gist
Mar 18, 2026 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,10 @@ or with a regex: ```bash git log -G "function.*login" --all ``` restore the file ```bash git checkout <commit_hash>^ -- path/to/file ``` -
inouire created this gist
Mar 18, 2026 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ Exact match: ```bash git log -S "ff1c9fbf-c3b8-4da0-aa81-72b50b84f67b" --all git show <commit_hash> ``` or with a regex: ```bash git log -G "function.*login" --all ```