From f071d1382e4b2456f1b4521c38882d0ae2b9914a Mon Sep 17 00:00:00 2001 From: "pitsa@5f5d24a1fb7ba0d050ae7cf95b4c3032002e8e38" Date: Sun, 13 Aug 2017 08:38:17 +0000 Subject: [PATCH] --- doc/forum/How_to_add_dotfiles_in_direct_mode__63__.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 doc/forum/How_to_add_dotfiles_in_direct_mode__63__.mdwn 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 0000000000..bd79dcdbd1 --- /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.)