736 B
736 B
dotfiles (WIP)
This repository contains my dotfiles. They are managed by using git clone --bare
,
see for example How to Store Dotfiles - A Bare Git Repository | Atlassian Git Tutorial.
On a new machine
- install git
cd ~
git clone --bare --depth 1 --recurse-submodules --shallow-submodules git@jaandrle.cz:jaandrle/dotfiles.git ~/.dotfiles
alias gitdotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
gitdotfiles config --local status.showUntrackedFiles no
- you may also need to use
gitdotfiles reset
(git-dotfiles reset --hard HEAD
)gitdotfiles checkout -f
gitdotfiles submodule update --init --recursive