목록error (13)
Chimy's Program
error: could not read '.git/rebase-apply/head-name': No such file or directory rebase 도중 예기치 못한 오류로 git bash가 꺼지게 되었는데 rebase를 취소하기 위해 --abort 옵션을 사용했을 때 발생한 오류 시도1. git rebase --quit Abort the rebase operation but HEAD is not reset back to the original branch. The index and working tree are also left unchanged as a result. rebase작업을 중단하지만 Head는 원래 분기로 되돌아 가지 않는 옵션 즉, 인덱스나 작업트리도 변경되지 않는다 --quit ..
remote: Permission to ~.git denied to ~. fatal: unable to access '': The requested URL returned error: 403 컴퓨터에 이미 등록된 git저장소계정과 다른 git저장소계정의 저장소를 remote할 때 발생하는 에러 (Windows10기준 인터페이스) windows키 클릭 후 제어판을 검색하여 제어판 창 열기 사용자 계정 클릭 왼쪽 메뉴 중 자격 증명 관리 클릭 Windows 자격 증명 클릭 여러 일반 자격 증명 중 해당 error의 git저장소주소(github,gitlab 등)에 대한 자격 증명 제거 후 다시 저장소에 푸시할 수 있는 깃허브 계정에 로그인하여 버전관리
fatal: The current branch master has no upstream branch. To push the current branch and set the remote as upstream, use 지역 저장소가 여러 개의 원격 저장소와 연결되어있기 때문에 기본적으로 연결할 원격저장소가 필요한데 기본 원격저장소를 지정해주지 않아서 발생하는 오류 시도1. git push --set-upstream origin master git push 명령어 사용 시 기본적으로 origin원격저장소의 master 브랜치로 업로드되도록 설정합니다 원격저장소가 어느 플랫폼의 사이트인지에 따라 다르지만 이후에 원격저장소 플랫폼에 로그인 하면 오류가 해결됩니다 해결 성공
fatal : No configured push destination. Either specify the URL from the command-line or configure a remote repository using git을 이용하여 원격저장소에 지역저장소의 내용을 업로드할 때 먼저 원격저장소와 지역저장소를 연결하지 않았을 때 나는 오류입니다 시도1. git remote add origin 저장소주소 origin 별칭으로 원격저장소의 주소를 등록해주면 해결됩니다
fatal: Unable to create '~/.git/index.lock': File exists. Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue. git commit 명령어를 실행하여 메시지를 입력하다가 강제종료하고 다시 git bash를 사용하여 commit..