Skip to content

AndersonQ/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My dotfiles :)

I'm using a local git bare repo located at $HOME/.dotfiles.git as described here

TL;DR

cd $HOME
git clone --bare [email protected]:AndersonQ/dotfiles.git .dotfiles.git
alias dotgit='/usr/bin/git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME'
dotgit config --local status.showUntrackedFiles no # do not track all the files ;)
dotgit checkout
  • dotgit checkout failed

It fails if there is already any of the files beig tracked. Then, move them and retry. In the article, they suggest (I haven´t tried it though):

mkdir -p .config-backup && \
dotgit checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}

About

My dot files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published