git (2) 썸네일형 리스트형 이클립스 깃허브 연동 에러 해결 깃허브에 리포지터리 생성 후 리드미 작성 + 테스트용으로 몇가지 파일을 커밋해 둔 상태에서 로컬 프로젝트 생성하고 우클릭 -> [Team] -> [Share Project...] -> 깃허브 리포지터리 입력 후 push -> 폴더 째로 업로드됨. -> revert commit으로 커밋 내용 취소이후 [Team]-[Disconnect]로 연결 해제 -> 다시 [Team]-[Share Project]-[Use or create repository ~] 체크 -[Create Repository] 클릭 후 [Finish]이후에 깃허브 리포지터리와 연동해준다.Git Repository 화면에서 Remotes 폴더 우클릭 -> [Create Remote...] 클릭-> 원격저장소 이름 입력 후 [create] ->.. error: update_ref failed for ref ~ error: update_ref failed for ref 'refs/heads/~~': cannot lock ref 'refs/heads/브랜치': is at aaa but expected bbb 해결방법 커맨드 창에서 git update-ref [위에 refs/heads/~~ 부분] [but expected 뒤에있는 bbb] git update-ref refs/heads/~~ bbb 위의 오류 해결 후 또다른 오류 발생 fatal: could not read log file '.git/rebase-merge/message': No such file or directory error: could not commit staged changes. 해결방법 참고로 커밋 내용이 다 날아가기때문에 변경사항을 c.. 이전 1 다음