본문으로 건너뛰기

Git Stash

stash​

git 임시 저장

사용​

# 저장
$ git stash save [메시지]

# 목록 조회
$ git stash list

# 반영
$ git stash apply [stash@{index}]

# 삭제
$ git stash drop [stash@{index}]

# 반영 후 삭제
$ git stash pop [stash@{index}]

# 변경사항 조회
$ git stash show [stash@{index}]

# 브랜치로 분리
$ git stash branch <BRANCHNAME> [stash@{index}]

참고​