๐ก Furnishings of my $HOME
.
git
must be installed.- To push changes an SSH key must be added to GitHub.
In $HOME
execute the following command:
- Clone the repo
git clone [email protected]:david-haerer/dotfiles.git # or git clone https://github.com/david-haerer/dotfiles.git
- Copy the .git folder
cp $HOME/dotfiles/.git $HOME/.dotfiles.git
- Set the dot alias.
alias dot="git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME"
- Restore the unstaged changes.
dot restore $HOME
- Pull the latest changes.
dot pull
The dot
alias works like the normal git
command.
Include the .config/git/.gitconfig
in you $HOME/.gitconfig
with