Skip to content

shiftgeist/horiceon

Repository files navigation

horiceon

GitHub contributors issues

Idea

Origin: https://news.ycombinator.com/item?id=11071754

Setup

You can replicate your home directory on a new machine using the following command:

git clone --separate-git-dir=~/.dotfiles git@github.com:shiftgeist/horiceon.git ~

# Without a clean home directory
git clone --separate-git-dir=$HOME/.dotfiles git@github.com:shiftgeist/horiceon.git $HOME/dotfiles-tmp
cp ~/dotfiles-tmp/.gitmodules ~  # If you use Git submodules
rm -r ~/dotfiles-tmp/
alias horiceon="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"

Usage

horiceon $GIT_COMMAND

Git Commits