From f80aa58cc376f5520208780f84b7e599631bc99f Mon Sep 17 00:00:00 2001 From: imgx64 Date: Thu, 15 Feb 2018 10:42:48 +0300 Subject: [PATCH] Document git command to clone the repo on Windows Closes gh-12070 --- CONTRIBUTING.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index 7ed88aabc67..24f791ad2f6 100755 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -208,3 +208,10 @@ The sample applications are used as integration tests during the build (when you they cannot be called directly, and so instead are launched via the `maven-invoker-plugin`. If you encounter build failures running the integration tests, check the `build.log` file in the appropriate sample directory. + + +== Cloning the git repository on Windows +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: +``` +git clone -c core.longPaths=true https://github.com/spring-projects/spring-boot.git +```