예전부터 생각하던 건데, git reset --hard를 인자 없이 쓰면 git stash로 동작하거나, 아니면 적어도 인자 없이 썼을 때 오류가 나게끔 설정할 수 있었으면 좋겠다. 별 생각 없이 날려도 괜찮겠지 싶어서 git reset --hard 쳤다가 몇 분 뒤에 후회하는 경우가 종종 있다.

2

If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/0196b494-0692-7da4-8b2e-2fd0f2627963 on your instance and quote it. (Note that quoting is not supported in Mastodon.)