Skip to content

Commit

Permalink
[FAB-5280] Fix git clone fabric-samples for Windows
Browse files Browse the repository at this point in the history
This change expands the prerequisites documentation for Windows
to instruct users on setting git properly to ensure it handles
long filenames (required to successfully clone fabric-samples)
and end-of-lines (required for vagrant to work).

Change-Id: I8230f1980fedfb43d6e9cda8d2a2b4a65aa2434a
Signed-off-by: Arnaud J Le Hors <lehors@us.ibm.com>
  • Loading branch information
lehors committed Jul 11, 2017
1 parent f56a82e commit fc736ec
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/source/prereqs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,22 @@ provides a better alternative to the built-in Windows tools:
:doc:`getting_started`, but you may not be able to find a
suitable ``make`` command.

Before running any ``git clone`` commands, run the following commands:

::

git config --global core.autocrlf false
git config --global core.longpaths true

You can check the setting of these parameters with the following commands:

::

git config --get core.autocrlf
git config --get core.longpaths

These need to be ``false`` and ``true`` respectively.

.. note:: The ``curl`` command that comes with Git and Docker Toolbox
is old and does not handle properly the redirect used in
:doc:`getting_started`. Make sure you install and use a
Expand Down

0 comments on commit fc736ec

Please sign in to comment.