git stash

김민규·2023년 8월 16일
1

git

목록 보기
1/1

저장

git stash

git stash save {name}

조회

git stash list
stash@{0}: On refactoring
stash@{1}: On modify template
...

꺼내기

git stash pop

가장 최근에 저장된 stash를 리스트에서 삭제하면서 꺼낸다.

git stash apply stash@{0}

stash 이름을 지정해서 꺼내기 (삭제안됨)

삭제

git stash drop stash@{0}
profile
Backend Engineer, Vim User

2개의 댓글

comment-user-thumbnail
2023년 8월 16일

많은 도움이 되었습니다, 감사합니다.

1개의 답글