I have a question about using git annex in windows. How can I have both, files tracked by git annex (large binaries that I don't want git to add to the repo) and other source code files that I want to add to the git repo, in the same repository if git annex must use direct mode on windows (and thus prevent me from using git add, git commit on my normal/non-annex files)?
Here are my steps:
- mkdir testrepo
- cd testrepo
- git init
- git annex init "testing annex"
- cp ~/test.png .
- git annex add test.png
- git annex sync
- vi normalfile.txt <--- add some text to a file, I want git to track this file
- git add normalfile.txt <--- here is the problem, since the repo is in direct mode, I cannot git add a file that I want git to track.
git add fails with fatal: This operation must be run in a work tree