Is it possible to check the git reflog for all commits to a specific file.
I made a commit to file foo.txt and now it no longer shows in the git history via
I lost a change when I was cleaning up my history with rebase. I used something like this to search the reflogs:
for r in $(git reflog -- ${file} | cut -d ' ' -f1); do git show ${r}:${file}; done