Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add note to README.md for Git line endings on Windows #7217

Merged
merged 4 commits into from
Jun 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ Install the following tools, if you don't have them already:
> which affects how you clone it.
> The GitHub documentation has general help on [forking][] and [cloning][] repos.

If you are working in the Windows desktop environment, make sure you have Git
`autocrlf` set to `input` **before** initializing the submodules. This
ensures that line endings are handled correctly _before_ any Bash scripts are
executed within the submodules.
See [issue 6201](https://github.com/flutter/website/issues/6201) for details.

If you're outside of the Flutter organization,
we recommend you **create a fork** of the repo under your own account,
and then submit a PR from that fork.
Expand Down