Updated onboarding regarding git and line endings

This commit is contained in:
Steffen Schaefer
2017-05-02 15:40:45 +02:00
parent dbdfb5c124
commit 8cd3d092f1
+3 -1
View File
@@ -118,7 +118,9 @@ In cases where code was reformatted, you can also ignore all whitespace changes
When doing a diff, you can also use the parameters `--ignore-space-at-eol` and `--ignore-space-change`.
When doing a merge in Eclipse, you can tell the merge editor to do a similar thing by right clicking and selecting "Ignore White Space". Other merge/diff tools also provide such a functionality.
When doing a merge in Eclipse, you can tell the merge editor to do a similar thing by right clicking and selecting "Ignore White Space". Other merge/diff tools also provide such a functionality.
When a file has "wrong line endings" (line endings are different to what is configured in ".gitattributes" file) and you touch those files without changing the contents, git will potentially show that these files are changed. To get rid of those phantom changes, you can do a "git reset --hard -- path/toFile/in/repository".
#### Additional steps required for Android projects