[GIT] git stash 등 문제 해결

Article

[GIT] git stash 등 문제 해결

수정 중인 소스코드를 임시 저장하고 원격 브랜치를 pull or merge하는 경우
1. stash 메뉴 선택(임시저장. head는 깨끗한 상태)
2. stash pop : 원격 브랜치를 pull or merge한 이후 다시 불러올 때. git stash pop 명령어 사용.
ref.]
1. http://tuwlab.com/ece/22221

2. https://git-scm.com/book/ko/v1/Git%EC%9D%98-%EA%B8%B0%EC%B4%88-%EC%88%98%EC%A0%95%ED%95%98%EA%B3%A0-%EC%A0%80%EC%9E%A5%EC%86%8C%EC%97%90-%EC%A0%80%EC%9E%A5%ED%95%98%EA%B8%B0

3. https://blog.outsider.ne.kr/788

* git stash pop이나 merge / pull 작업시 fatal : unable to ..... index.lock 에러 메시지 출력되는 경우
command 창에서 .git/index.lock을 확인 후 rm -f .git/index.lock 명령어로 삭제
ref.] http://88240.tistory.com/entry/GIT-gitindexlock-%EC%97%90%EB%9F%AC

Dev Jinwon's Share
f
t