Skip to content

Commit

Permalink
Quick Windows Documentation Patch (#745)
Browse files Browse the repository at this point in the history
* Update ContributingOnWindows.md

* Remove global references
  • Loading branch information
ambiguousname authored Dec 8, 2024
1 parent effebbb commit 6bd0824
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ContributingOnWindows.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,17 @@ So these commands help get rid of that:

```bash
# Disable Git's CRLF to LF conversion:
git config --global core.autocrlf false
git config core.autocrlf false
# Reset cached files to remove associations
git rm --cached -r .
git reset --hard
```

You can re-enable the `core.autocrlf` option afterwards if you'd like: `git config --global core.autocrlf true`. Just don't reset the cache.
Or you can add this line to `.git/config`:

```
[core]
autocrlf = false
```

And reset the cache.

0 comments on commit 6bd0824

Please sign in to comment.