Skip to content

Commit f80aa58

Browse files
imgx64wilkinsona
authored andcommitted
Document git command to clone the repo on Windows
Closes gh-12070
1 parent 83626c7 commit f80aa58

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CONTRIBUTING.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,10 @@ 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 characters), depending on where you clone the repository. If you get `Filename too long` errors, set the `core.longPaths=true` git option:
215+
```
216+
git clone -c core.longPaths=true https://github.com/spring-projects/spring-boot.git
217+
```

0 commit comments

Comments
 (0)