neovim提交Pull requests

以提交vim patch为例

  1. 看看还有哪些补丁未merge
    v@v:~/work/neovim$ ./scripts/vim-patch.sh -l

Vim patches missing from Neovim:
• 7.4.2189

  1. 获取该补丁信息,7.4.2189
    v@v:~/work/neovim$ ./scripts/vim-patch.sh -p 7.4.2189
    在当前目录下生成patch文件vim-7.4.2189.patch
  2. 合并并提交,提交vim patch的信息是有格式要求的
    以提交7.4.2189为例,日志如下
vim-patch:7.4.2189
    
  https://github.com/vim/vim/commit/f71d7b9ee5ceba75f70c30845332ddd728fd16c6
    
    Author: Bram Moolenaar 
    Date:   Tue Aug 9 22:14:05 2016 +0200
    
        patch 7.4.2189
        Problem:    Cannot detect encoding in a fifo.
        Solution:   Extend the stdin way of detecting encoding to fifo.  Add a t
                    for detecting encoding on stdin and fifo. (Ken Takata)
  1. 提交到github
    git push

  2. 创建Pull requests
    选择branch下的vim-7.4.2189.patch,点击New pull request


    neovim提交Pull requests_第1张图片
    pull-request.png
  3. 提交后的pull request

neovim提交Pull requests_第2张图片
done.png

打赏

如果这篇文章解决了您的问题,让我买根烟抽抽。

neovim提交Pull requests_第3张图片
支付宝.jpg
neovim提交Pull requests_第4张图片
微信.jpg

你可能感兴趣的:(neovim提交Pull requests)