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

Add git configuration for line ending #92

Merged
merged 1 commit into from Feb 2, 2017

Conversation

lresende
Copy link
Member

@lresende lresende commented Feb 1, 2017

Git relies on user setting core.autocrlf which
is ususally unreliable as not all users are aware
of this configuration, or they forget to properly set.

The .gitattributes file is a template file with the
appropriate configuration for different file types.

After these changes are applied it's recommended to
do the following commands on your local repository:

git rm --cached -r .
git reset --hard

More info available at
https://help.github.com/articles/dealing-with-line-endings/

Git relies on user setting core.autocrlf which
is ususally unreliable as not all users are aware
of this configuration, or they forget to properly set.

The .gitattributes file is a template file with the
appropriate configuration for different file types.

After these changes are applied it's recommended to
do the following commands on your local repository:

git rm --cached -r .
git reset --hard

More info available at
https://help.github.com/articles/dealing-with-line-endings/
@mariusvniekerk
Copy link
Member

Lgtm

@lresende
Copy link
Member Author

lresende commented Feb 2, 2017

Ok, merging to master if no more comments

@asfgit asfgit merged commit 1a9c11f into apache:master Feb 2, 2017
@lresende lresende deleted the git-lineending branch June 24, 2017 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants