dotfiles add (2020-11-04)

문제 발생

  • .vim 폴더를 add 했는데 서브폴더에 minpac 관련 .git이 또 있는걸 몰랐음
  • 다음과 같은 에러 발생

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    
    warning: adding embedded git repository: .vim/pack/minpac/opt/minpac
    hint: You've added another git repository inside your current repository.
    hint: Clones of the outer repository will not contain the contents of
    hint: the embedded repository and will not know how to obtain it.
    hint: If you meant to add a submodule, use:
    hint:
    hint:   git submodule add <url> .vim/pack/minpac/opt/minpac
    hint:
    hint: If you added this path by mistake, you can remove it from the
    hint: index with:
    hint:
    hint:   git rm --cached .vim/pack/minpac/opt/minpac
    hint:
    hint: See "git help submodule" for more information.