Skip to content

Commit 1dd7aa2

Browse files
committed
Merge pull request #12070 from imgx64
* gh-12070: Polish "Document git command to clone the repo on Windows" Document git command to clone the repo on Windows
2 parents 83626c7 + dcc8a8b commit 1dd7aa2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

CONTRIBUTING.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,13 @@ The sample applications are used as integration tests during the build (when you
208208
they cannot be called directly, and so instead are launched via the
209209
`maven-invoker-plugin`. If you encounter build failures running the integration tests,
210210
check the `build.log` file in the appropriate sample directory.
211+
212+
213+
== Cloning the git repository on Windows
214+
Some files in the git repository may exceed the Windows maximum file path (260
215+
characters), depending on where you clone the repository. If you get `Filename too long`
216+
errors, set the `core.longPaths=true` git option:
217+
218+
```
219+
git clone -c core.longPaths=true https://github.com/spring-projects/spring-boot
220+
```

0 commit comments

Comments
 (0)