κ°μΈ λ ΈνΈλΆμ κΉλ € μλ Gitμ μ λ°μ΄νΈνλ€.
$ git update-git-for-windows
νμμμ μμ ν μλ£λ₯Ό λ΄λ €λ°κΈ° μν΄ μλ‘μ΄ ν΄λλ₯Ό μμ±νμ¬ git μ΄κΈ° μμ μ μ§ννλ€.
$ git config --list
λ‘ μ€μ λ user.nameκ³Ό user.emailμ νμΈνλλ° user.nameμ΄ νμμ λ±λ‘λ μ΄λ¦κ³Ό λ¬λλ€. μ°Ύμ보λ μ΄λ¦μ λ¬λΌλ ν° λ¬Έμ λ λ°μνμ§ μμΌλ©°, μ΄λ©μΌλ§ λ±λ‘λ μ΄λ©μΌκ³Ό κ°μΌλ©΄ λλ€λ κ²μ μμλ€. νμ§λ§ κΉνλΈμ λ±λ‘λ μ μ λ€μμ΄ λ§μμ λ€μ§ μμ κΉνλΈμ κΉμ user.nameμ λͺ¨λ λ³κ²½νκΈ°λ‘ νλ€. -> eeunha
λ¬Έμ νμ΄λ₯Ό μλ£νκ³ κΉνλΈμ μ¬λ¦¬λ € addλ₯Ό ν΄λμλλ° κ²½κ³ κ° λ°μνλ€.
$ git add .
warning: in the working copy of 'JavaTest/bin/.gitignore', LF will be replaced b
y CRLF the next time Git touches it
μ°Ύμ보λ OSλ§λ€ μ€λ°κΏμ 보λ λ¬Έμμ΄μ΄ λ¬λΌμ λ°μνλ κ²μ΄μλ€. λλ μ§κ³Ό νμμμ windowsλ₯Ό μ¬μ©νκ³ , λ€λ₯Έ OSλ μ¬μ©νμ§ μμ μ°μ trueλ‘ μ€μ ν΄λμλ€.
git config --global core.autocrlf true
https://dabo-dev.tistory.com/13
νμμ μ°λ¦¬ μ‘°μ ν¨κ» μΈ μ μλ κ²λνμ΄μ μμ±νκ³ κ³΅μ νλ€.
85~91κΉμ§ νμλ€. 79λ² λ§λ°©μ§λ§ νλ©΄ κ³Όμ λμ΄λ€. νμ΄λ κΉνλΈμ μ¬λ €λμλ€.
κ΅λ―Όμ·¨μ μ§μμ λ 2νμ°¨ μλ΄μ λ°κΈ° μ κ³Όμ λ‘ λ΄μ£Όμ μ§μ μ νΈλκ²μ¬(Lν)κ³Ό ꡬμ§μ€λΉλκ²μ¬λ₯Ό μ€μνλ€.