File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,14 @@ Features:
4141 ```
4242 Or download release jars from https://github.com/scm4j/scm4j-vcs-git/releases
4343- Code snippet
44- ``` java
44+ ```java
4545 public static final String WORKSPACE_DIR = System.getProperty("java.io.tmpdir") + "git-workspaces";
4646 IVCSWorkspace workspace = new VCSWorkspace(WORKSPACE_DIR);
4747 String repoUrl = "https://github.com/MyUser/MyRepo";
4848 IVCSRepositoryWorkspace repoWorkspace = workspace.getVCSRepositoryWorkspace(repoUrl);
4949 IVCS vcs = new GitVCS(repoWorkspace);
5050 vcs.setCredentials("user", "password"); // if necessary
51- ```
51+ ```
5252- Use methods of ` IVCS ` interface. See [ scm4j-vcs-api] ( https://github.com/scm4j/scm4j-vcs-api ) for details
5353- Use ` vcs.setProxy() ` and ` vcs.setCredentials() ` if necessary
5454
You can’t perform that action at this time.
0 commit comments