π
OS : Windows 10
Tool : Git Bash
warning: LF will be replaced by CRLF in {file name}.
The file will have its original line endings in your working directory.
Github μ
λ‘λλ₯Ό μν΄μ, addλ₯Ό νλ μ€ λ°κ²¬ν μ€λ₯μ
λλ€.
μμ£Ό λ±μ₯νλ 건 μλλ° λ³Έ μ΄νμ νμΌ λ±λ‘λ μλμ ν΄κ²°νκ³ μ ν©λλ€.
LF (Line Feed) | CR (Carriage Return) | CRLF(CR + LF) |
---|---|---|
\n | \r | \r\n |
Mac λ²μ 9κΉμ§ | Unix | windows |
μμ€λ¬Έμ WIKIλ₯Ό μ°Έκ³ ν΄μ ν΅μ¬κ΅¬μ λ§ μ 리ν΄λ³΄μμ΅λλ€.
μ¦ μ€μ λμ ꡬλ³νλ κ²μ΄ OSλ§λ€ λ¬λΌμ githubμ μ¬λ¦¬λ νμμ μ‘°μ ν΄μ£Όμ΄μΌ νλ κ²μ
λλ€.
git config --global core.autocrlf true
λ₯Ό ν΅ν΄μ μ½κ² ν΄κ²°νμμ΅λλ€.
λ§€λ² λ°μνλ건 μλμ§λ§, κ°κ°ν νμΈλλ μ΄λ κ² ν΄κ²°νμλ©΄ λκ² μ΅λλ€!