From 19112c667dec814fa935eeb3646a8fbfbe6d101e Mon Sep 17 00:00:00 2001 From: TiynGER <43725244+TiynGER@users.noreply.github.com> Date: Wed, 3 Jul 2019 17:22:57 +0200 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 57d6406..036173e 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,20 @@ My Arch Linux dotfiles. Most of them are personalized variants of the LARBS dotfiles files ## Migration of my dotfiles to other system -set alias in .bashrc +###set alias in .bashrc ```alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'``` -clone this repository +###clone this repository ```git clone --bare https://github.com/TiynGER/.dotfiles $HOME/.dotfiles``` -checkout changes +###checkout changes ```config checkout``` -backup old files -```mkdir -p .config-backup && \ +###backup old files +```mkdir -p .config-backup && \ config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \ -xargs -I{} mv {} .config-backup/{}``` -checkout changes +xargs -I{} mv {} .config-backup/{} +``` +###checkout changes ```config checkout``` -set showUntrackedFiles to no +###set showUntrackedFiles to no ```config config --local status.showUntrackedFiles no``` -pull current setup +###pull current setup ```config pull```