解决方案
1 - vi filename进入编辑器,查看报错信息,出现E325: ATTENTION
例如:E325: ATTENTION
Found a swap file by the name "rm /var/opt/gitlab/gitlab-rails/etc/.gitlab.yml.swp"
2 - 复制Found a swap file by the name之后的信息,并退出
3 - 在命令行输入rm 你复制的信息
例如 rm /var/opt/gitlab/gitlab-rails/etc/.gitlab.yml.swp
4 - 之后再重新进入编辑器进行修改即可
标签:E325,vi,gitlab,解决方案,rm,ATTENTION From: https://www.cnblogs.com/lyljx/p/17442571.html