summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/forum/How_to_add_dotfiles_in_direct_mode__63__.mdwn6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/forum/How_to_add_dotfiles_in_direct_mode__63__.mdwn b/doc/forum/How_to_add_dotfiles_in_direct_mode__63__.mdwn
new file mode 100644
index 000000000..bd79dcdbd
--- /dev/null
+++ b/doc/forum/How_to_add_dotfiles_in_direct_mode__63__.mdwn
@@ -0,0 +1,6 @@
+I have my Darktable photo library in git-annex and I need to use
+
+- .gitignore to ignore some files like *.lock
+- .gitattributes to make the sidecar .xmp files to be non-annexed normal files (faster and saves the editing history)
+
+What is the correct way to add those dotfiles to git in direct mode? Do I need to switch the repository to indirect mode and then back to direct mode? (I rather not do that very often since the repo has tens of thousands of files.)