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

fix(line-endings): Enforce unix line endings #152

Merged
merged 1 commit into from
Sep 25, 2016

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Sep 22, 2016

See https://help.github.com/articles/dealing-with-line-endings/

After a pull: you can reset line endings locally to unix using these steps:

  • Save your current files in Git, so that none of your work is lost.
git add . -u
git commit -m "Saving files before refreshing line endings"
  • Remove every file from Git's index.
git rm --cached -r .
  • Rewrite the Git index to pick up all the new line endings.
git reset --hard

@nicojs nicojs mentioned this pull request Sep 22, 2016
@simondel simondel merged commit 554c167 into master Sep 25, 2016
@simondel simondel deleted the enforce-unix-line-endings branch September 25, 2016 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants