V11.2 V11.1 Win7
Let's create a test repo:
<< GitLink`
dir = FileNameJoin[{$UserDocumentsDirectory, "Test2"}];
CreateDirectory[
FileNameJoin[{dir, "sub"}], CreateIntermediateDirectories -> True
];
Export[
FileNameJoin[{dir, "sub", "test.m"}], "Print@\"test\"", "Text"
];
repo = GitInit@dir;
GitStatus@repo
GitAdd[repo, All]
<|"New" -> {"sub\"}, ...|>
GitAdd::gitoperationfailed: A git operation failed with the message "Invalid path: 'sub/'".
{}
But if I run git add sub/ from a terminal, it works. Hope it is not another silly mistake I've made.
V11.2 V11.1 Win7
Let's create a test repo:
But if I run
git add sub/from a terminal, it works. Hope it is not another silly mistake I've made.