readme.vxvc.org 859 B

About

Refactoring again the tracking of my dotfiles using StreakyCobra's method.

-------------------------------------------------------------------------------

License

Copyright 2019 vaeringjar. Work distributed under the CC0.

Usage

Run this to setup. Please note, this will clobber any older versions!


git clone --bare https://vaeringjar@notabug.org/vaeringjar/dotfiles.git $HOME/.vxvc
git init --bare $HOME/.vxvc
alias vxvc='/usr/bin/git --git-dir=$HOME/.vxvc/ --work-tree=$HOME'
vxvc config --local status.showUntrackedFiles no
echo "alias vxvc='/usr/bin/git --git-dir=$HOME/.vxvc/ --work-tree=$HOME'" >> $HOME/.bashrc
vxvc reset --hard HEAD

The ~.bashrc~ file should have the following:


if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi