Digital Orchestra Toolbox and GIT

dhjdhjdhj's icon

Is anyone else having trouble pulling DOT into a git repository?

I've discovered that the folder named 'dot.hzsmp~' does not show up in git (at least not through SourceTree, the GUI I'm using for git on a Mac)

Also, if I try renaming the folder to just dot.hz, then the files inside it show up by themselves in a top level folder in git, called smp~.maxpat and smp~.maxhelp rather than the names they have inside the actual folder, e.g. 'dot.hzsmp~' and so forth.

alite's icon

OK, it's an old post, …

Maybe the '~' sign causes the problem. Often backup files are marked with a appending '~' and git could be configured to exclude files with a '~' in there names from tracking.
You can control this behaviour by the .gitignore file (delete the line with '*~') in either .gitignore_global (in your home directory) or .gitignore in your workspace folder.

Maybe this will help!?