Skip to content

Instantly share code, notes, and snippets.

@jelaniwoods
Last active August 22, 2019 17:23
Show Gist options
  • Save jelaniwoods/54ed9367e3f7b83590481cffc4646139 to your computer and use it in GitHub Desktop.
Save jelaniwoods/54ed9367e3f7b83590481cffc4646139 to your computer and use it in GitHub Desktop.
Instructions on how to setup Fork on Windows 10

Setup Fork for Windows

Download and Install Fork

Download Git?

Edit Git Line Ending Settings

In Fork select console

fork-console

and enter the following commands

Set LF as your line ending default.

git config --global core.eol lf

Set autocrlf to false to stop converting between windows style (CRLF) and Unix style (LF)

git config --global core.autocrlf false

Check your git global configuration file

git config --list --show-origin

https://marketplace.visualstudio.com/items?itemName=IDCTpl.Trimlineendsonsave

https://stackoverflow.com/questions/6500880/with-git-how-do-i-turn-off-the-lf-will-be-replaced-by-crlf-warning

https://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf

Cannot find HEAD https://stackoverflow.com/questions/30809205/couldnt-set-refs-heads-master-when-commit

Try closing IDE or Text Editor to solve https://stackoverflow.com/a/53529556

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment