Created
June 23, 2020 04:24
-
-
Save ichinya/59ed7ddc1b132c86d124c02adcd5269c to your computer and use it in GitHub Desktop.
при работе в разных ОС (Win, Unix, Mac) - делать одинаковые окончания строк в GIT
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
| через терминал | |
| в одном проекте | |
| git config core.autocrlf true | |
| во всех проектах | |
| git config --global core.autocrlf true | |
| или в файле проекта .git\config | |
| [core] | |
| autocrlf = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment