From f3b879b405e06b30a8e7582cd0687d2de576f33f Mon Sep 17 00:00:00 2001 From: Michel Date: Tue, 13 Jun 2023 17:28:13 +0200 Subject: [PATCH] docs: install subtree --- .README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.README.md b/.README.md index d92b21c..98514ca 100644 --- a/.README.md +++ b/.README.md @@ -44,6 +44,16 @@ dotfiles checkout lazygit --git-dir=$HOME/.dotfiles --work-tree=$HOME ``` +# Install remotes as subtree + +- https://www.atlassian.com/git/tutorials/git-subtree +- Create an alias for remote repository + - `dotfiles remote add ` +- Import remote as a single commit (squashed) + - `dotfiles subtree add --prefix --squash + - Note 1: Must be called from $HOME + - Note 2: Do not start with $HOME or ~ + # Install recent versions of applications ## Generic Tips