Created
April 29, 2010 13:47
-
-
Save JeremySkinner/383624 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Takes a repository which has autocrlf set to true and changes it to false using powershell | |
| # Turn autocrlf off | |
| git config core.autocrlf false | |
| # Remove all files | |
| git rm --cached -r . | |
| # Re-add all files | |
| git diff --cached --name-only | foreach { git add $_ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment