I changed the name of an old file I committed several days ago. Now I need the name of that original document for a board meeting presentation. If it makes any difference, I’m on iMac OSX using iTerm2.
I have already tried the following commands without any luck. I’m expecting to see the actual original, user-end filename. Example of expected result: “01_Introduction_Statistics.pages”
git log
git log –pretty=oneline –graph –name-status
git show –pretty=oneline –graph –name-status
git diff –name-only
git svn log -v
git show –[=pretty]
git show –oneline
git log –raw
git show –name-only
**git blame -f, –show-name show original filename (Default: auto)
This last one appears to provide what I need, but I’m not sure how to use it. I keep getting “error: unknown option `-,'” I have no idea what that means.
I have already tried git blame -f, –show-name 38c52f1cb920f676aba32f312b696e05fa01d7a1
It returns an error. I’m lost and confused.