Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| git_subtree [2017/11/07 02:58] – [To manually update subtree] rpjday | git_subtree [2018/02/13 17:05] (current) – [Links] rpjday | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * [[https:// | * [[https:// | ||
| Git subtree: the alternative to Git submodule (2013)]] | Git subtree: the alternative to Git submodule (2013)]] | ||
| - | * [[https:// | + | |
| + | | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| Line 175: | Line 176: | ||
| < | < | ||
| $ git subtree add \ | $ git subtree add \ | ||
| + | --prefix .vim/ | ||
| + | tpope-vim-surround \ | ||
| + | master \ | ||
| + | --squash | ||
| + | $ | ||
| + | </ | ||
| + | |||
| + | To update at a later date: | ||
| + | |||
| + | < | ||
| + | $ git fetch tpope-vim-surround master | ||
| + | $ git subtree pull \ | ||
| --prefix .vim/ | --prefix .vim/ | ||
| tpope-vim-surround \ | tpope-vim-surround \ | ||