My ‘dotfiles’, primarly KDE Neon (“≈Ubuntu”), VIM, …. I use
git clone --bare
for managing dotfiles.
.bash | ||
.config/vifm | ||
.vim | ||
.bashrc | ||
.inputrc | ||
.profile | ||
.vimrc | ||
LICENSE | ||
README.md |
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 git-dotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
git-dotfiles config --local status.showUntrackedFiles no
- you may also need to use
git-dotfiles reset
(git-dotfiles reset --hard HEAD
)git-dotfiles checkout -f
git-dotfiles submodule update --init --recursive