[Git / Error] could not delete references: cannot lock ref ...
·
Git | Github
Update failed could not delete references: cannot lock ref 'your_remote_path': Unable to create 'your_local_path': File exists.실제 에러 내용could not delete references: cannot lock ref 'refs/remotes/origin/feature/-20231016': Unable to create 'C:/Users/eugenecha/Documents//.git/refs/remotes/origin/feature/-20231016.lock': File exists. 과거일 기준 local master에서 작업한 나의 변경 상태와, 미래일 기준 새로운 커밋이 추가된 remote mas..
[Git] 로컬 프로젝트를 github에 push하기
·
Git | Github
// git 초기화: 현재 디렉토리에서 git을 정의 git init // 프로젝트 파일 전부를 commit에 포함 git add . // 현재 대상화된 branch와 committed된 파일 목록 보기 git status // commit에 "commit" 메시지 남기기 git commit -m "commit" // commit을 시도하는 사용자 정보 정의 git config --global user.email "youremail@email.com" git config --global user.name "yourname" // 사용자의 repository 주소 정의 git remote add origin https://github.com/yourname/repositoryname.git // commi..