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.
我正在寻找 vim 命令,该命令将从 Glog 文件视图退出回到正常(原始)文件。
例子:
假设我正在使用 vim 查看文件。
输入后,:Glog我可以浏览该文件的所有 git 版本。
:Glog
我正在寻找可以让我返回查看当前文件版本的命令(或其他东西),以便我可以修改和保存此文件。
可能吗?
引用自述文件:
完成后,:Gedit在历史缓冲区中使用以返回到工作树版本。
:Gedit
(它与 相关:Gblame,但也:Gedit适用于:Glog- 我检查过。)
:Gblame