Skip to content

Commit 83b2c27

Browse files
authored
Update README.md
1 parent 370084f commit 83b2c27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)