search

Home  >  Q&A  >  body text

如何将vim备份到github,含有子模块

git init
git add .
git commit -m ""
git push

这时候push到github仓库里面的一些子模块只有目录名没有文件.

漂亮男人漂亮男人2762 days ago853

reply all(2)I'll reply

  • 为情所困

    为情所困2017-05-02 09:53:06

    Git backup should not include Vundle backups in the first place. If you really want to copy to another place where the network is inconvenient, you can write a script to package the corresponding files.

    For example, under Windows, I have a script win_init.cmd:

    1. If you execute it directly, Vundle and other warehouses will be automatically downloaded. Check whether .vimrcdetorte配色方案拷贝到Windows下的相应目录。然后检查curl, ag, ctags, gtagsand other necessary tools are installed. If not, download them to the corresponding directory.

    2. win_init.cmd portable, it will package all local Vim-related files, copy them to other machines and decompress them, and also include various plug-ins installed under Vundle.

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-02 09:53:06

    Then back it up locally

    reply
    0
  • Cancelreply