Last Sync: 2025-12-22 21:26 (Mobile)
This commit is contained in:
@@ -38,3 +38,29 @@ git stash save
|
||||
> 잠시 작업중 다른작업을 해야할때 임시로숨겨 놓았다가 다시 할때 쓴다.
|
||||
> commit, pull, push등 할때 사용
|
||||
|
||||
```
|
||||
git stash apply
|
||||
```
|
||||
>다시 원상태로 전환
|
||||
|
||||
```
|
||||
git stash list
|
||||
```
|
||||
```
|
||||
git reset --hard HEAD
|
||||
```
|
||||
>수정전 상태로 되돌린다.
|
||||
|
||||
# git 상태 확인
|
||||
```
|
||||
git status
|
||||
```
|
||||
# stash 리스트 삭제
|
||||
```
|
||||
git stash drop
|
||||
```
|
||||
```
|
||||
git stash apply; git stash drop;
|
||||
```
|
||||
>여러가지 명령을 한번에 사용할때 쓴다.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user