Next | MJD's Git tips and utilities | 12 |
git reflog my-branch-name
These locutions can be used with any git command:
@{17}
@{18:43}
@{yesterday}
dev@{'3 days ago'}
my-branch-name@{'Aug 22'}
(git-checkout, git-reset, git-show, etc.)
Also:
git show dev@{'Aug 22'}:path/to/some/file.txt
“Print out that file, as it was on dev, on August 22”
It's all still in there
Next | Copyright © 2021 M. J. Dominus |