Last active
December 12, 2015 07:48
-
-
Save codegoalie/4738855 to your computer and use it in GitHub Desktop.
Help! I lost a commit from days ago!!! post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrismar035:super_sweet_project(master) $ git lg | |
* 99f0b00 - LOST COMMIT!!! (just now) <Chris Marshall> | |
* faa7737 - Merge branch 'features/sweet_feat' (1 day ago) <Chris Marshall> | |
|\ | |
| * 3ce8e66 - Commit after the lost one (1 day ago) <Chris Marshall> | |
| * 9418734 - Commit before the lost one (1 day ago) <Chris Marshall> | |
|/ | |
* b67ec4c - Other unrelated commit (2 days ago) <Chris Marshall> | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrismar035:super_sweet_project(master) $ git lg | |
* faa7737 - Merge branch 'features/sweet_feat' (1 day ago) <Chris Marshall> | |
|\ | |
| * 3ce8e66 - Commit after the lost one (1 day ago) <Chris Marshall> | |
| * 9418734 - Commit before the lost one (1 day ago) <Chris Marshall> | |
|/ | |
* b67ec4c - Other unrelated commit (2 days ago) <Chris Marshall> | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrismar035:super_sweet_project(master) $ git reflog | |
... | |
cdc5ebd HEAD@{32}: merge features/sweet_feat: Merge made by the 'recursive' strategy. | |
0f41bfb HEAD@{33}: checkout: moving from features/sweet_feat to master | |
045d49d HEAD@{34}: rebase -i (finish): returning to refs/heads/features/sweet_feat | |
045d49d HEAD@{35}: rebase -i (edit): Commit after the lost one | |
c275cc6 HEAD@{36}: checkout: moving from features/sweet_feat to c275cc6 | |
1ce77b6 HEAD@{37}: commit: Commit after the lost one | |
9a7de0e HEAD@{38}: commit: LOST COMMIT!!! | |
f59040b HEAD@{39}: commit: Commit before the lost one | |
0f41bfb HEAD@{40}: checkout: moving from master to features/sweet_feat | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment