From 5817e834e168d38aa1cc6383389a8a8bedd95675 Mon Sep 17 00:00:00 2001 From: "http://edheil.wordpress.com/" Date: Sun, 16 Dec 2012 00:10:39 +0000 Subject: [PATCH] Added a comment --- ..._175645a90be0c79221c129308adf643e._comment | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 doc/forum/Storing_uncontrolled_files_in_an_annex/comment_1_175645a90be0c79221c129308adf643e._comment diff --git a/doc/forum/Storing_uncontrolled_files_in_an_annex/comment_1_175645a90be0c79221c129308adf643e._comment b/doc/forum/Storing_uncontrolled_files_in_an_annex/comment_1_175645a90be0c79221c129308adf643e._comment new file mode 100644 index 0000000000..2932efa399 --- /dev/null +++ b/doc/forum/Storing_uncontrolled_files_in_an_annex/comment_1_175645a90be0c79221c129308adf643e._comment @@ -0,0 +1,27 @@ +[[!comment format=mdwn + username="http://edheil.wordpress.com/" + ip="173.162.44.162" + subject="comment 1" + date="2012-12-16T00:10:39Z" + content=""" +wow, are you git annexing your whole home directory? that sounds extreme and problematic, since everything in git annex becomes read-only!! + +This how to make git annex ignore something though: make git ignore it in the first place. + +Stop the git assistant if it's running. + +create a file called \".gitignore\" in the root of your annex directory; add a line to that file for everything you want git (and therefore git annex) to ignore, e.g. \".thunderbird\" + + +e.g.: + + echo '.thunderbird' > '.gitignore' + +check that file into git: + + + git add .gitignore + git commit -m 'check in .gitignore' + +Now you should be able to start up git-annex again and have it ignore .thunderbird, or any other path you put in .gitignore +"""]]