develog

[git] stash 본문

Dev/git

[git] stash

냐옴 2021. 6. 30. 09:47

작업중인 내용 임시 저장하기

git-stash - Stash the changes in a dirty working directory away

# stash 저장
git stash push -u -m 'message'

# stash 리스트 보기
git stash list

# 0번 인덱스 내용 보기
git stash show 0

# 0번 인덱스 내용 적용
git stash apply 0

# 0번 인덱스 삭제
git stash drop 0

# stash 비우기
git stash clear

'Dev > git' 카테고리의 다른 글

[git] client tool  (0) 2021.06.30
[git] 참고  (0) 2021.06.30
[git] log  (0) 2021.06.30
[git] fatal: refusing to merge unrelated histories  (0) 2021.05.19
[windows] docker 로 gitlab 설치  (0) 2021.05.13
Comments