From fdffcf47f5caa3ffad96f0428fca0c898d862948 Mon Sep 17 00:00:00 2001 From: josch Date: Tue, 24 Jun 2014 17:44:23 +0000 Subject: [PATCH] --- ..._prevent_accidentally_running___96__git_add__96____63__.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/forum/how_to_prevent_accidentally_running___96__git_add__96____63__.mdwn b/doc/forum/how_to_prevent_accidentally_running___96__git_add__96____63__.mdwn index 775ae2a085..5a73ec1796 100644 --- a/doc/forum/how_to_prevent_accidentally_running___96__git_add__96____63__.mdwn +++ b/doc/forum/how_to_prevent_accidentally_running___96__git_add__96____63__.mdwn @@ -1 +1,3 @@ I fear that while using git annex I will at some point accidentally `git add` some small files and not notice it until the only way to fix the problem is to rewrite history. What would be the best way to prevent myself from ever `git add`-ing a file into my annex repository instead of `git annex add`-ing it? + +And secondly, how can I best search in my git annex repository whether I already did this mistake in the past or not?