当尝试在OSX上安装IFUSE时,我在VI中错误地更改了一个文件,并且不知道如何使原始返回
I'm very inexperienced, and was following directions here ---
情况下对文件进行编辑时进行了一些意外的更改
$ vi `brew formula ifuse`
我相信我相信我在不了解我所做的事情的 。当我去安装ifuse时,它只会给我一个错误。有什么办法可以返回原始文件/撤销我的编辑?
I'm very inexperienced, and was following directions here ---
Installing ifuse with Homebrew results in ERROR message
I believe I made some unintended changes when I was editing the file in
$ vi `brew formula ifuse`
without understanding what I was doing. When I went to install ifuse, it just give me an error. Is there any way to get back to the original file/undo my edits?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
自制公式位于当地的GIT存储库中。您可以通过键入来还原原始公式:
Homebrew formulas are in a local git repository. You can restore the original formula by typing: