aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/How_to_add_dotfiles_in_direct_mode__63__.mdwn
blob: bd79dcdbd17a347b31ab1b7fbc2cf70983009a1f (plain)
1
2
3
4
5
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.)