summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://edheil.wordpress.com/ <http://edheil.wordpress.com/@web>2012-12-16 00:10:39 +0000
committerGravatar admin <admin@branchable.com>2012-12-16 00:10:39 +0000
commit3fa7881a7cbfcbb91bc97f4b4439fa610353c258 (patch)
tree723d8b393ed6bb8252bb22fb9d1e0741209c866d
parent35802c7050887e50a743d53db8b92ba577da01ac (diff)
Added a comment
-rw-r--r--doc/forum/Storing_uncontrolled_files_in_an_annex/comment_1_175645a90be0c79221c129308adf643e._comment27
1 files changed, 27 insertions, 0 deletions
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 000000000..2932efa39
--- /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
+"""]]