git error

    [Error]  git pull 에러 Your local changes to the following files would be overwritten by merge: 원인 및 해결

    [Error] git pull 에러 Your local changes to the following files would be overwritten by merge: 원인 및 해결

    [Error]error: Your local changes to the following files would be overwritten by merge: ....Please commit your changes or stash them before you merge.Aborting [원인] 원격저장소에서 pull 진행시 현재 작업한 소스와 remote repositor의 소스의 차이가 생겨서 충돌이 일어남 [해결] 로컬 수정사항을 임시공간으로 옮긴 후 원격 저장소 pull 진행 1. 로컬내 수정사항 파일을 staging 영역의 그택에 잠깐 넣어둔다git stash 2. 원격 저장소(remote repository) 로 부터 pull 진행git pull origin bradnch 3. 대상 파일을 꺼..

    [GIT] error:failed to push some refs to 에러 해결

    [GIT] error:failed to push some refs to 에러 해결

    [Error 내용] error: failed to push some refs to ~ [원인] 원격저장소(github )에 내 Local 에 없는 파일이 있을 때 Local 파일을 push 할 면 발생하는 오류 [해결] 1. pull - 원격저장소에 있는 파일을 Local 로 가져온다 git pull { origin 원격저장소 이름 } { branch 브런치} 2. push - Local 파일을 원격저장소에 반영한다 git push { origin 원격저장소 이름 } { branch 브런치}

    [GIT] Commit git author identity unknown 오류 해결

    [GIT] Commit git author identity unknown 오류 해결

    신규 프로젝트에 투입되어 기본 셋팅을 하고 git 설정 후 commit 하려 하니 "Author identity unknown " error 가 발생했다 ㅠㅠ [Error 내용] Author identity unknown *** please tell me who you are [원인] 컴퓨터 (pc) 내에 git email, user 가 제대로 등록되지 않는 경우 발생 즉, 새 pc를 부여 받고 최초 commit, push 등의 git 관련 작업을 할때 사용자 인증이 되지 않아 발생함 [해결] git 계정 정보 넣어서 명령어 실행 git config --global user.email "이메일주소" git config --global user.name "Your 이름"