TOOL

github 프로젝트단위로 작업하기

RUNAS 2017. 5. 26. 03:10


1. 

warning: LF will be replaced by CRLF in .bash_history.

The file will have its original line endings in your working directory.


이런 오류가 발생했을 때, CRLF LF 방식의 차이를 없애줘야함.


$ git config --global core.autocrlf true


2. repository 를 삭제하고 새 repository에 커밋하고 싶은 경우, 


$ git remote rm origin

$ git remote add origin "저장소 주소"


3. .gitignore 파일 설정

..................................................................작업중