Note, please be kindly to read my question first, befroe mark it as duplicate of how-can-you-undo-the-last-git-add.
Is there a git native way to get when the last git add . executed?
I recent do some coding in my ios project, and execute git add . without committing. Today I also do some coding in the project, and encountered a bug. I use git diff to check today's work, and not find any changes may lead to the bug.
I've test the ios app on my device last saturday. So I want to know when the last git add . was executed. If it was executed before last saturday, I can locate the bug in today's code.
.git/indexif you haven't run any other commands that touch the file. Besides,historyhelps if you have configured something like cyberciti.biz/faq/unix-linux-bash-history-display-date-timegit reflog -all, it not show command likegit add