Skip to content

Git subtree

Tutorials

Usage

Dotfiles example

Initial setup:

cd ~
dotfiles remote add lazyvim-starter https://github.com/LazyVim/starter
dotfiles subtree add --prefix=.config/nvim/ lazyvim-starter main --squash

Pull in changes:

cd ~
dotfiles fetch lazyvim-starter
dotfiles subtree pull --prefix=.config/nvim/ lazyvim-starter main --squash