# Oh Shit, Git!?!

> Clean Markdown view of GeekNews topic #6846. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=6846](https://news.hada.io/topic?id=6846)
- GeekNews Markdown: [https://news.hada.io/topic/6846.md](https://news.hada.io/topic/6846.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-06-27T09:42:43+09:00
- Updated: 2022-06-27T09:42:43+09:00
- Original source: [dangitgit.com](https://dangitgit.com/ko)
- Points: 44
- Comments: 7

## Topic Body

### Git을 사용하면서 겪는 문제들에 대한 해결책 설명   
- 뭔가 단단히 잘못됐는데, 다 뒤엎고 예전으로 돌리고 싶어!  
- 방금 커밋했는데 하나 깜빡한 걸 발견했어!  
- 커밋 메세지를 잘못 썼어!  
- 다른 브랜치에 커밋해야 하는 걸 실수로 master에 커밋해 버렸어!  
- 실수로 이상한 브랜치에 커밋을 해버렸어!  
- diff를 실행했는데 아무 것도 안 보이잖아?!  
- 다섯 커밋 전에 한 커밋을 되돌려야 하잖아!  
- 파일을 수정한 걸 되돌려야 하잖아!  
- 아 몰라, 다 포기할래.

## Comments



### Comment 11083

- Author: devsepnine
- Created: 2022-07-04T09:32:31+09:00
- Points: 1

👍👍

### Comment 10861

- Author: sihadan
- Created: 2022-06-27T16:46:22+09:00
- Points: 2

재작년쯤 제가 번역을 했던 글인데 오랜만에 다시 읽으니 말투가 살짝 오글거리네요 ㅎㅎ;

### Comment 10862

- Author: xguru
- Created: 2022-06-27T19:06:18+09:00
- Points: 1
- Parent comment: 10861
- Depth: 1

앗 그렇군요. 번역 고맙습니다!!

### Comment 10854

- Author: studroid
- Created: 2022-06-27T11:45:22+09:00
- Points: 1

전 여기 나열된 상황에서 SourceTree 같은 GUI 도구를 적극 사용해서 해결하긴 합니다.. ㅎㅎ  
제가 커맨드라인 명령어로는 다루기엔 힘든 상황들도 많더라고요

### Comment 10850

- Author: ngenius
- Created: 2022-06-27T10:45:40+09:00
- Points: 1

비속어 없는 버전도 있군요  
  
https://dangitgit.com/ko

### Comment 10851

- Author: xguru
- Created: 2022-06-27T10:47:13+09:00
- Points: 1
- Parent comment: 10850
- Depth: 1

부담스러워서 옮기면서 제거했는데.. 이게 더 좋네요. 변경해두겠습니다 ㅎㅎ

### Comment 10847

- Author: nicewook
- Created: 2022-06-27T10:11:30+09:00
- Points: 1

오오~ 흔치 않은 문제가 생길때마다 구글링하는데 딱 필요한 거네요.
