paper.archive
기록 저장소 · from Seoul, Korea
2015 — 2026 · 61 entries
I Tech Notes
AWS · Cloud 1Spring · JPA 13Golang 1Kubernetes · Infra 3Python 2Open Source · Data 5CentOS · Linux 11.NET 3
II Life & K-Food
Daily life · Food 13
III Misc
Tips · Troubleshooting 6Mac · Etc 3
Archive Tags About 한국어
© 페이퍼
paper.archive/Etc
Etc

Reverting a git local commit

2016 · 02 · 25 1 min read Paper

Specify the target repository to restore, like below (when the current checkout is develop)

1
git reset --hard remotes/origin/develop

If you don’t specify a repository, it seems to revert based on the currently checked-out remote

1
git reset --hard
#git
PreviousA simple webserver check with PythonNextrebase and merge in git