Hello i have problem with path to repo in ProcessBuilder. I had same problem once, but that solution didn't work this time. And my error looks
fatal: Not a git repository (or any of the parent directories): .git
Any ideas why the path is not working? repository root is
public static final String REPOSITORY_ROOT = "C:\\Workspace-git\\";
Solution
ProcessBuilder ps= new ProcessBuilder(new String[]{"git","pull",RepositoryConstants.REPOSITORY_ROOT+"cl-testowy"});
ps.directory(new File(RepositoryConstants.REPOSITORY_ROOT+"cl-testowy"));
Thank you