cat .gitignoreのつもりでrm cat .gitignoreと打ち込んでしまって.gitignoreを喪失する事案発生

git checkout .gitignore