git will display commit changes that affect the index, such as git rm . It does not keep a log of all the git commands that you execute.
However, a large number of git commands affect the index in some way, for example, creating a new branch. These changes will appear in the commit history, which you can view with git log .
However, there are destructive changes that git cannot track, such as git reset .
So, to answer your question, git does not store the absolute history of the git commands that you executed in the repository. However, you can often interpolate the command that you executed using the commit history.
Alex Sep 15 '11 at 18:14 2011-09-15 18:14
source share