[git] git 스테이징 되지 않은 파일 되돌리기
2023. 11. 12. 22:35ㆍgit
# 아직 스테이징하지 않은 변경 사항을 되돌립니다.
git restore --source=HEAD --staged --worktree file.txt
'git' 카테고리의 다른 글
[git] git reset에 대한 나름의 이해 (0) | 2023.10.20 |
---|---|
[git] git clone repo명을 가진 dir 말고 하위 폴더부터 가지고 오기 (0) | 2023.10.16 |
[git] git branch 정보 받아오기 (0) | 2023.07.21 |
[git] git remote 삭제 (0) | 2023.05.08 |
[git] git 정리 (0) | 2023.04.04 |