summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/forum/git_annex_status_doesn__39__t_use_.gitignore_in_direct_mode.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/forum/git_annex_status_doesn__39__t_use_.gitignore_in_direct_mode.mdwn b/doc/forum/git_annex_status_doesn__39__t_use_.gitignore_in_direct_mode.mdwn
new file mode 100644
index 000000000..f91c8bf79
--- /dev/null
+++ b/doc/forum/git_annex_status_doesn__39__t_use_.gitignore_in_direct_mode.mdwn
@@ -0,0 +1,16 @@
+Hello all!
+
+I'm doing tests with git annex to see how it works, and to start with it I'm trying to track my /home using some kind of a *white list* with .gitignore.
+
+So I have this .gitignore file:
+
+ /*
+ !/web
+
+ !/Desktop
+ /Desktop/*
+ !/Desktop/Work
+
+and when I do *git annex add .* it works as expected: It adds only ~/web and ~/Desktop/Work... but when I do *git annex status* it shows me the entire /home... it seems that *git annex status* doesn't use .gitignore... is this a bug or an intended behavior?
+
+Thanks for your time :)