Açıklama Yok

vaeringjar fcae58cf61 Fix the clone URL. 5 yıl önce
.bash_aliases e13728f065 Added a global git ignore file. 5 yıl önce
.gitignore 5078f1ac96 init 5 yıl önce
.gitignore_global e13728f065 Added a global git ignore file. 5 yıl önce
.vimrc e25d0a5ce1 Fix wrongly named file. 5 yıl önce
readme.vxvc.org fcae58cf61 Fix the clone URL. 5 yıl önce

readme.vxvc.org

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