Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 네트워크
- web.xml
- VirtualBox
- lsof
- 단축키
- Quartz
- profile
- context
- maVen
- JavaScript
- bash
- DB 도메인
- ssh
- copy-dependencies
- Eclipse
- port
- 공통표준용어
- grep
- Source
- xargs
- Mac
- resource
- netsh
- tomcat
- find
- Windows
- IntelliJ
- import
- Windows 10
- GIT
Archives
- Today
- Total
develog
[git] 현재 branch 의 변경 내용을 모두 rollback 본문
## stage 된 파일들을 모두 unstage 한다
$ git restore --staged .
## unstage 된 파일들의 변경내용을 초기화한다
$ git restore .
## untracked file 을 삭제한다
$ git clean -fd
## untracked file 을 삭제하기 전에 먼저 리스트를 확인한다
$ git clean -fd -n
'Dev > git' 카테고리의 다른 글
[git] merge (0) | 2021.12.22 |
---|---|
[git] reset, 커밋 취소 (0) | 2021.10.26 |
[git] merge vs merge --no-ff vs merge --squash vs rebase (0) | 2021.10.26 |
git commit 취소 (0) | 2021.08.25 |
[git] diff (0) | 2021.08.09 |
Comments