aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_import_is_dangerous_if_you_have_unused_objects/comment_2_f64891ff6fe0cd0be6a356ab8fe42817._comment
blob: 0b459529bcf1412bbd585830990db0e168b029c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
[[!comment format=mdwn
 username="joey"
 subject="""comment 2"""
 date="2017-03-02T21:26:57Z"
 content="""
One way to fix this would be to make `git reset --hard` first make a commit
of the current state of the index, and store that commit in the reflog. 

Of course, that's quite similar to `git stash` and probably most of us have
just gotten in the habit of running `git stash` instead.
"""]]