aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/Revert_to_a_precedent_state_in_direct_mode.mdwn
blob: 08aa843cfd111b34795e10baad6e386b5e21e5c9 (plain)
1
2
3
I have made some mistakes while using `git annex import` in direct mode. Now I see that some files have been erroneously added and there are other problems. I have not yet used `git annex sync`.

How can I tell git-annex in direct mode (or bare git) to forget about all these changes and revert back to the last known good (pre-import) state? This means also removing the few imported files and recreate their links.