Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不小心删除了我的 Gemfilerm Gemfile 我可以恢复它或重新创建一个吗?
rm Gemfile
如果您使用 git(如您在评论中所说):
git checkout -- Gemfile