Git
[Git] 자주 쓰는 Git 명령어
달콩쨩
2023. 1. 25. 18:24
- 현재 git 상태 확인
- git status -suno
- 특정 커밋 시점으로 돌아가기
- git reset [커밋ID]
- 특정파일 stash 저장
- git stash push [특정파일] [특정파일] ...
- stash 꺼내기
- git stash pop
- log 보기
- git log -[개수]
- git 최신 상태로 만들기 (강제)
- git reset --hard
- git check out
- git 특정파일만 최신 상태로 돌리기
- git checkout [특정파일] [특정파일] ,,,