Trying to run bash tools/init --no-gh
, failing
#1757
-
Checklist
How did you create the site?Built from DescriptionTrying to build from Trying to follow the initial setup step of running
The file looks like it cloned to my machine just fine. I know I'm almost certainly missing something but I'm not sure where to check. Operations you have already triedRunning Running Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Windows uses a pair of CR and LF (i.e. You might try the following solutions:
|
Beta Was this translation helpful? Give feedback.
Windows uses a pair of CR and LF (i.e.
\n\r
) to terminate lines while UNIX uses an single LF (i.e.\n
). When you clone repositories on Windows, git will replace all\n
to\n\r
, which makes bash unable to recognize\r
.You might try the following solutions:
core.autocrlf
of git to avoid automatic conversion.