diff options
-rw-r--r-- | doc/forum/Add_file_to_git_index_while_in_direct_mode/comment_3_8f77b5dcf582e88099b2e6e77563fb11._comment | 10 |
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 +"""]] |