
출처 : https://www.patrickzahnd.ch/blog.html#gittransport
unstaged file을 임시로 보관할 때 사용
작업 중인 파일들 때문에 다른 branch로 checkout이 안되는 경우 유용하게 사용할 수 있다.
$git stash : 파일들을 한 묶음으로 임시 보관
$git stash apply : 임시 보관 중이던 파일들을 다시 workspace에 적용
$git stash list : 보관 중인 목록을 확인
$git stash show : 보관 중인 목록을 부가적인 정보와 함께 확인
$git stash pop [index] : 보관 중인 파일 중 지정한 인덱스를 적용
$git stash drop [index] : 보관 중인 파일 중 지정한 인덱스를 삭제
$git stash clear : 모든 stash 삭제
아래 포스팅에 작성
https://velog.io/@k904808/git%EC%97%90-push%ED%95%9C-%ED%8C%8C%EC%9D%BC-%EC%82%AD%EC%A0%9C