warning: LF will be replaced by CRLF in ()
The file will have its original line endings in your working directory
OS마다 개행문자가 다르기에 Git이 어느 쪽을 선택해야하는지 알려달라고 나오는 오류.
자동으로 개행문자를 선택해주는 autocrlf을 사용하여 해결할 수 있다.
git config --global core.autocrlf true
이 명령어를 입력해주면 해결가능
error: src refspec () does not match any
원격 저장소와 로컬 저장소의 자료가 꼬였을 때 나오는 오류
git 정보를 초기화 해주면 해결할 수 있다
rm -rf .git
git init
git add .
git commit -m "msg"
git remote add origin (repository)
git push origin (branch)