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 |
Tags
- vscode
- 네트워크
- port
- 줄바꿈 문자
- Mac
- Eclipse
- Windows 10
- profile
- Windows
- 단축키
- xargs
- Source
- plugin
- tomcat
- maVen
- VirtualBox
- netsh
- web.xml
- find
- grep
- JavaScript
- bash
- import
- lsof
- GIT
- context
- Quartz
- IntelliJ
- ssh
- resource
Archives
- Today
- Total
develog
[git] rollback 본문
revert change one file
git checkout HEAD -- <filePath>
revert changes all
git checkout .
remove untracked files and directories
git clean -fd
How do I revert all local changes in Git managed project to previous state?
I have a project in which I ran git init. After several commits, I did git status which told me everything was up to date and there were no local changes. Then I made several consecutive changes ...
stackoverflow.com
'Dev > git' 카테고리의 다른 글
[git] merge vs rebase (0) | 2021.03.31 |
---|---|
[git] git branching model (0) | 2021.03.31 |
[git] .gitignore (0) | 2021.03.18 |
[git] git status untracked file not showing (0) | 2021.03.17 |
[git] config, init (0) | 2020.01.09 |
Comments