summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-09-11 13:41:37 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-09-11 13:41:37 -0400
commit9b8c7d90e9c62658e9c74d760a8f8a92932fe0bb (patch)
treeedee19ba1b26a65998b4163c789f38626dcaa4c3
parent69826bd7380a2e0e385639a396e22c5908b0083d (diff)
comment
-rw-r--r--doc/forum/Add_file_to_git_index_while_in_direct_mode/comment_3_8f77b5dcf582e88099b2e6e77563fb11._comment10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/forum/Add_file_to_git_index_while_in_direct_mode/comment_3_8f77b5dcf582e88099b2e6e77563fb11._comment b/doc/forum/Add_file_to_git_index_while_in_direct_mode/comment_3_8f77b5dcf582e88099b2e6e77563fb11._comment
new file mode 100644
index 000000000..e597917e3
--- /dev/null
+++ b/doc/forum/Add_file_to_git_index_while_in_direct_mode/comment_3_8f77b5dcf582e88099b2e6e77563fb11._comment
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 3"""
+ date="2015-09-11T17:39:05Z"
+ content="""
+You can temporarily set annex.largefiles to match no files, while running
+git-annex add, to force it to add the file to git instead of the annex.
+
+git -c annex.largefiles='exclude=*' annex add somefile
+"""]]